C++: make highlighting/completion plugable.

Change-Id: I990fdf5411153041c6b4c62f31b453342d59de53
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Erik Verbruggen
2012-02-20 12:39:08 +01:00
parent d66acb51d0
commit 6fe6f5cdb1
15 changed files with 407 additions and 94 deletions

View File

@@ -57,10 +57,6 @@ namespace TextEditor {
} // namespace TextEditor
namespace CppTools {
class CppCompletionSupport;
class CppHighlightingSupport;
namespace Internal {
class CppModelManager;
@@ -82,9 +78,6 @@ public:
QString contents();
unsigned editorRevision() const;
CppCompletionSupport *completionSupport() const;
CppHighlightingSupport *highlightingSupport() const;
Q_SIGNALS:
void contentsChanged();
@@ -102,8 +95,6 @@ private:
QFuture<void> _documentParser;
QString _cachedContents;
unsigned _revision;
QScopedPointer<CppCompletionSupport> m_completionSupport;
QScopedPointer<CppHighlightingSupport> m_highlightingSupport;
};
} // namespace Internal