C++: Share symbol finder across editor instances

Change-Id: I75880597d237bbbe1393dd02153cedba1165bed6
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
Leandro Melo
2012-01-24 11:07:26 +01:00
parent 6554a793a5
commit 8e3c88f02b
5 changed files with 12 additions and 21 deletions

View File

@@ -36,7 +36,7 @@
#include "cppeditor.h"
#include <texteditor/helpitem.h>
#include <cpptools/symbolfinder.h>
#include <cplusplus/CppDocument.h>
#include <cplusplus/Overview.h>
@@ -92,6 +92,7 @@ private:
bool m_lookupDerivedClasses;
QSharedPointer<CppElement> m_element;
QString m_diagnosis;
CppTools::SymbolFinder m_symbolFinder;
};
class CppElement