diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-04-02 11:28:11 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2013-04-08 13:21:31 +0200 |
commit | ea23948efbf044c2e6d501bb2f294d40a5c6032d (patch) | |
tree | ab7748ef3df21a681dda09c53244a6354d992589 /src/plugins/cpptools/cppfindreferences.h | |
parent | ff3bf32435f33058262c107d2239013a59c11ffe (diff) | |
download | qt-creator-ea23948efbf044c2e6d501bb2f294d40a5c6032d.tar.gz |
CppTools: Use namespace CppTools consistently
There were quite a few classes using CPlusPlus namespace in the
CppTools plugin. Rename them and do some other small namespace
related coding style fixups.
Change-Id: I093fc1f3fc394fd9923e3f18d5f66522e288f21d
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppfindreferences.h')
-rw-r--r-- | src/plugins/cpptools/cppfindreferences.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/cpptools/cppfindreferences.h b/src/plugins/cpptools/cppfindreferences.h index 200dc616bd..4fa992c8c2 100644 --- a/src/plugins/cpptools/cppfindreferences.h +++ b/src/plugins/cpptools/cppfindreferences.h @@ -50,11 +50,9 @@ namespace Find { class SearchResult; } // namespace Find -namespace CPlusPlus { +namespace CppTools { class CppModelManagerInterface; -} -namespace CppTools { namespace Internal { class CppFindReferencesParameters @@ -69,7 +67,7 @@ class CppFindReferences: public QObject Q_OBJECT public: - CppFindReferences(CPlusPlus::CppModelManagerInterface *modelManager); + CppFindReferences(CppModelManagerInterface *modelManager); virtual ~CppFindReferences(); QList<int> references(CPlusPlus::Symbol *symbol, const CPlusPlus::LookupContext &context) const; @@ -106,7 +104,7 @@ private: const CPlusPlus::Snapshot &snapshot); private: - QPointer<CPlusPlus::CppModelManagerInterface> _modelManager; + QPointer<CppModelManagerInterface> _modelManager; QMap<QFutureWatcher<CPlusPlus::Usage> *, QPointer<Find::SearchResult> > m_watchers; mutable QMutex m_depsLock; |