summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projecttreewidget.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-01-20 17:14:00 +0100
committerhjk <qtc-committer@nokia.com>2009-01-20 17:14:00 +0100
commit667255c4d1b5c1c7a939d87730737e6a7e6bff29 (patch)
treea3d436f376af85d5b2d89cd7d40df7c21e71a9f0 /src/plugins/projectexplorer/projecttreewidget.h
parent897c05f57c64d07c1361c7170495641ece42c7c3 (diff)
downloadqt-creator-667255c4d1b5c1c7a939d87730737e6a7e6bff29.tar.gz
some more ICore related cleanup
Diffstat (limited to 'src/plugins/projectexplorer/projecttreewidget.h')
-rw-r--r--src/plugins/projectexplorer/projecttreewidget.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/plugins/projectexplorer/projecttreewidget.h b/src/plugins/projectexplorer/projecttreewidget.h
index 4d9224b46e..dea4c7edb2 100644
--- a/src/plugins/projectexplorer/projecttreewidget.h
+++ b/src/plugins/projectexplorer/projecttreewidget.h
@@ -39,10 +39,6 @@
#include <QtGui/QWidget>
#include <QtGui/QTreeView>
-namespace Core {
-class ICore;
-}
-
namespace ProjectExplorer {
class ProjectExplorerPlugin;
@@ -53,10 +49,11 @@ namespace Internal {
class FlatModel;
-class ProjectTreeWidget : public QWidget {
+class ProjectTreeWidget : public QWidget
+{
Q_OBJECT
public:
- ProjectTreeWidget(Core::ICore *core, QWidget *parent = 0);
+ explicit ProjectTreeWidget(QWidget *parent = 0);
bool autoSynchronization() const;
void setAutoSynchronization(bool sync, bool syncNow = true);
@@ -81,7 +78,6 @@ private slots:
void initView();
private:
- Core::ICore *m_core;
ProjectExplorerPlugin *m_explorer;
QTreeView *m_view;
FlatModel *m_model;
@@ -99,15 +95,13 @@ private:
class ProjectTreeWidgetFactory : public Core::INavigationWidgetFactory
{
public:
- ProjectTreeWidgetFactory(Core::ICore *core);
+ ProjectTreeWidgetFactory();
virtual ~ProjectTreeWidgetFactory();
virtual QString displayName();
virtual QKeySequence activationSequence();
virtual Core::NavigationView createWidget();
void restoreSettings(int position, QWidget *widget);
void saveSettings(int position, QWidget *widget);
-private:
- Core::ICore *m_core;
};
} // namespace Internal