diff options
author | hjk <qtc-committer@nokia.com> | 2011-02-21 16:02:26 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2011-02-22 11:23:53 +0100 |
commit | f576ad9f2c169bfa4d336ba2b3b1918f03df6916 (patch) | |
tree | f9e708ea1972b10d5465c915e7b9d0f7572f671f /src/plugins/texteditor/refactoroverlay.h | |
parent | e32cf192f7ba34dda96b61507b440c6a17b51a0c (diff) |
texteditor: merge ITextEditable into ITextEditor
rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
rename BaseTextEditor{,Widget} subclasses
rename editableInterface->editorInterface
rename createEditableInterface->createEditor
minor cleanups after renamings
Diffstat (limited to 'src/plugins/texteditor/refactoroverlay.h')
-rw-r--r-- | src/plugins/texteditor/refactoroverlay.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/texteditor/refactoroverlay.h b/src/plugins/texteditor/refactoroverlay.h index d93c4f7890..c8cfcd775c 100644 --- a/src/plugins/texteditor/refactoroverlay.h +++ b/src/plugins/texteditor/refactoroverlay.h @@ -40,7 +40,7 @@ #include <QtGui/QIcon> namespace TextEditor { -class BaseTextEditor; +class BaseTextEditorWidget; struct TEXTEDITOR_EXPORT RefactorMarker { inline bool isValid() const { return !cursor.isNull(); } @@ -57,7 +57,7 @@ class TEXTEDITOR_EXPORT RefactorOverlay : public QObject { Q_OBJECT public: - explicit RefactorOverlay(TextEditor::BaseTextEditor *editor); + explicit RefactorOverlay(TextEditor::BaseTextEditorWidget *editor); bool isEmpty() const { return m_markers.isEmpty(); } void paint(QPainter *painter, const QRect &clip); @@ -72,7 +72,7 @@ public: private: void paintMarker(const RefactorMarker& marker, QPainter *painter, const QRect &clip); RefactorMarkers m_markers; - BaseTextEditor *m_editor; + BaseTextEditorWidget *m_editor; int m_maxWidth; const QIcon m_icon; }; |