C++: Move the ModelManagerInterface from CppTools to CPlusPlus.

This commit is contained in:
Christian Kamm
2010-12-03 13:49:35 +01:00
parent 5de7be5f91
commit 5f50a6ae34
45 changed files with 268 additions and 146 deletions

View File

@@ -51,9 +51,11 @@ namespace Find {
struct SearchResultItem;
} // end of namespace Find
namespace CppTools {
namespace CPlusPlus {
class CppModelManagerInterface;
}
namespace CppTools {
namespace Internal {
class CppFindReferences: public QObject
@@ -61,7 +63,7 @@ class CppFindReferences: public QObject
Q_OBJECT
public:
CppFindReferences(CppModelManagerInterface *modelManager);
CppFindReferences(CPlusPlus::CppModelManagerInterface *modelManager);
virtual ~CppFindReferences();
QList<int> references(CPlusPlus::Symbol *symbol, const CPlusPlus::LookupContext &context) const;
@@ -90,7 +92,7 @@ private:
void setDependencyTable(const CPlusPlus::DependencyTable &newTable);
private:
QPointer<CppModelManagerInterface> _modelManager;
QPointer<CPlusPlus::CppModelManagerInterface> _modelManager;
Find::SearchResultWindow *_resultWindow;
QFutureWatcher<CPlusPlus::Usage> m_watcher;