CppEditor: Use BaseTextEditor{Widget} if possible

Change-Id: I59c420c6469717e552469d176bbeac3a455f3bb0
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2014-05-22 11:04:57 -04:00
parent 4e8b1544b7
commit e828f60c90
13 changed files with 35 additions and 34 deletions

View File

@@ -44,6 +44,7 @@ class QLabel;
QT_END_NAMESPACE
namespace Core { class IEditor; }
namespace TextEditor { class BaseTextEditor; }
namespace Utils {
class AnnotatedItemDelegate;
@@ -84,7 +85,7 @@ private:
Utils::AnnotatedItemDelegate *m_delegate;
CppIncludeLabel *m_inspectedFile;
QLabel *m_includeHierarchyInfoLabel;
CPPEditor *m_editor;
TextEditor::BaseTextEditor *m_editor;
};
// @todo: Pretty much the same design as the OutlineWidgetStack. Maybe we can generalize the