diff options
author | hjk <hjk121@nokiamail.com> | 2013-08-29 17:17:24 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-08-30 11:25:51 +0200 |
commit | eb724f3772776849585be1417e90b1fb41a29698 (patch) | |
tree | 90709baa1d642b021cb81286cb34610db95d1ce8 /src/plugins/locator/opendocumentsfilter.h | |
parent | 4a24df38a3a164c51f9cdddd566c9928a7482a0a (diff) | |
download | qt-creator-eb724f3772776849585be1417e90b1fb41a29698.tar.gz |
EditorManager: Use interface directly instead of going through ICore
In the majority of cases we were doing that anyways, having two
ways is just needlessly confusing.
Change-Id: Ied362a702c23beee528368d74df1f2aabe5807f8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/locator/opendocumentsfilter.h')
-rw-r--r-- | src/plugins/locator/opendocumentsfilter.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/locator/opendocumentsfilter.h b/src/plugins/locator/opendocumentsfilter.h index 9a861d3a54..a42f8fca50 100644 --- a/src/plugins/locator/opendocumentsfilter.h +++ b/src/plugins/locator/opendocumentsfilter.h @@ -38,10 +38,6 @@ #include <QList> #include <QFutureInterface> -namespace Core { - class EditorManager; -} - namespace Locator { namespace Internal { @@ -50,7 +46,7 @@ class OpenDocumentsFilter : public Locator::ILocatorFilter Q_OBJECT public: - explicit OpenDocumentsFilter(Core::EditorManager *editorManager); + OpenDocumentsFilter(); QList<Locator::FilterEntry> matchesFor(QFutureInterface<Locator::FilterEntry> &future, const QString &entry); void accept(Locator::FilterEntry selection) const; void refresh(QFutureInterface<void> &future); @@ -59,8 +55,6 @@ public slots: void refreshInternally(); private: - Core::EditorManager *m_editorManager; - QList<Core::DocumentModel::Entry> m_editors; }; |