diff options
author | con <qtc-committer@nokia.com> | 2010-10-11 10:23:30 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-10-11 14:24:06 +0200 |
commit | 38d3090a4a8858bb2cd6676edc5f001d523b96bd (patch) | |
tree | f19ed7c950156c258c86b064f0471833baf6b00a /src/plugins/projectexplorer/allprojectsfind.h | |
parent | 4e7c07d97abab3a178ca7b1b612828b2ce1c91a5 (diff) | |
download | qt-creator-38d3090a4a8858bb2cd6676edc5f001d523b96bd.tar.gz |
Share some code between all projects and current projects find.
Also some const correctness.
Diffstat (limited to 'src/plugins/projectexplorer/allprojectsfind.h')
-rw-r--r-- | src/plugins/projectexplorer/allprojectsfind.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/allprojectsfind.h b/src/plugins/projectexplorer/allprojectsfind.h index d6484e5d60..96c2dff6ea 100644 --- a/src/plugins/projectexplorer/allprojectsfind.h +++ b/src/plugins/projectexplorer/allprojectsfind.h @@ -40,6 +40,7 @@ namespace ProjectExplorer { class ProjectExplorerPlugin; +class Project; namespace Internal { @@ -60,7 +61,8 @@ public: void readSettings(QSettings *settings); protected: - Utils::FileIterator *files(); + virtual QList<Project *> projects() const; + Utils::FileIterator *files() const; private: ProjectExplorerPlugin *m_plugin; |