forked from qt-creator/qt-creator
First step towards dynamic ui completion. Add hooks in cppmodelmanager
This adds a way for plugins to tell the cppmodel that for certain files, the actual contents come from it, instead of reading from the disk. (For texteditors the cppmodel does that automatically.) Reviewed-By: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -91,6 +91,9 @@ public:
|
||||
void stopEditorSelectionsUpdate()
|
||||
{ m_updateEditorSelectionsTimer->stop(); }
|
||||
|
||||
virtual void addEditorSupport(AbstractEditorSupport *editorSupport);
|
||||
virtual void removeEditorSupport(AbstractEditorSupport *editorSupport);
|
||||
|
||||
Q_SIGNALS:
|
||||
void projectPathChanged(const QString &projectPath);
|
||||
|
||||
@@ -161,6 +164,8 @@ private:
|
||||
// editor integration
|
||||
QMap<TextEditor::ITextEditor *, CppEditorSupport *> m_editorSupport;
|
||||
|
||||
QSet<AbstractEditorSupport *> m_addtionalEditorSupport;
|
||||
|
||||
// project integration
|
||||
QMap<ProjectExplorer::Project *, ProjectInfo> m_projects;
|
||||
|
||||
|
Reference in New Issue
Block a user