aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/welcome
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-11-01 16:29:45 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-11-01 16:29:45 +0100
commit6063fb84c20e7c877558210f6492f67a7fd17214 (patch)
treeee5a901c7a4b59f9d9a43c69c9475a345e86db8b /src/plugins/welcome
parentbeaff08200db600a26dfdfc6107ef97e3c0e92fe (diff)
Fix exported headers in Core and TextEditor.
- Unexport Core::Internal::MainWindow and remove its includes. - Move RssFetcher from Core::Internal to Core. - Unexport CopyTaskHandler. - Move TextEditor's completion support and Refactor Overlay helper classes from TextEditor::Internal to TextEditor as they are exported. - Move internal BaseTextBlockSelection into private header. - Unexport TextEditorOverlay as they are not used.
Diffstat (limited to 'src/plugins/welcome')
-rw-r--r--src/plugins/welcome/communitywelcomepagewidget.cpp4
-rw-r--r--src/plugins/welcome/communitywelcomepagewidget.h6
2 files changed, 3 insertions, 7 deletions
diff --git a/src/plugins/welcome/communitywelcomepagewidget.cpp b/src/plugins/welcome/communitywelcomepagewidget.cpp
index ac80277d91..b738d2aeba 100644
--- a/src/plugins/welcome/communitywelcomepagewidget.cpp
+++ b/src/plugins/welcome/communitywelcomepagewidget.cpp
@@ -37,8 +37,6 @@
#include <QtGui/QDesktopServices>
#include <QtGui/QTreeWidgetItem>
-using namespace Core::Internal;
-
struct Site {
const char *description;
const char *url;
@@ -82,7 +80,7 @@ static inline void populateWelcomeTreeWidget(const Site *sites, int count, Utils
CommunityWelcomePageWidget::CommunityWelcomePageWidget(QWidget *parent) :
QWidget(parent),
- m_rssFetcher(new RssFetcher(7)),
+ m_rssFetcher(new Core::RssFetcher(7)),
ui(new Ui::CommunityWelcomePageWidget)
{
ui->setupUi(this);
diff --git a/src/plugins/welcome/communitywelcomepagewidget.h b/src/plugins/welcome/communitywelcomepagewidget.h
index ff088e692c..9e57ca6c07 100644
--- a/src/plugins/welcome/communitywelcomepagewidget.h
+++ b/src/plugins/welcome/communitywelcomepagewidget.h
@@ -37,9 +37,7 @@ class QUrl;
QT_END_NAMESPACE
namespace Core{
-namespace Internal {
- class RssFetcher;
-}
+class RssFetcher;
}
namespace Welcome {
@@ -65,7 +63,7 @@ private slots:
private:
- Core::Internal::RssFetcher *m_rssFetcher;
+ Core::RssFetcher *m_rssFetcher;
Ui::CommunityWelcomePageWidget *ui;
};