aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/refactoroverlay.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-09-26 11:37:54 +0200
committerDavid Schulz <david.schulz@digia.com>2014-09-29 14:54:32 +0200
commit10c8d5f0cad6c89a75a7662aed0912c622482f03 (patch)
tree290f27191ff7a65427dd0df132652995efecedea /src/plugins/texteditor/refactoroverlay.h
parentcfaa30d0b91ac7b46883b332bf246b41dd84e6dc (diff)
TextEditor: Rename BaseTextEditorWidget to TextEditorWidget
... and some of the related implementation details Change-Id: I1f03aa5acf2d3fb2cfc2a6a7845f3d3578b0408d Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/texteditor/refactoroverlay.h')
-rw-r--r--src/plugins/texteditor/refactoroverlay.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/texteditor/refactoroverlay.h b/src/plugins/texteditor/refactoroverlay.h
index b4e6aaabe7..1dc52aaf0b 100644
--- a/src/plugins/texteditor/refactoroverlay.h
+++ b/src/plugins/texteditor/refactoroverlay.h
@@ -36,7 +36,7 @@
#include <QIcon>
namespace TextEditor {
-class BaseTextEditorWidget;
+class TextEditorWidget;
struct TEXTEDITOR_EXPORT RefactorMarker {
inline bool isValid() const { return !cursor.isNull(); }
@@ -53,7 +53,7 @@ class TEXTEDITOR_EXPORT RefactorOverlay : public QObject
{
Q_OBJECT
public:
- explicit RefactorOverlay(TextEditor::BaseTextEditorWidget *editor);
+ explicit RefactorOverlay(TextEditor::TextEditorWidget *editor);
bool isEmpty() const { return m_markers.isEmpty(); }
void paint(QPainter *painter, const QRect &clip);
@@ -68,7 +68,7 @@ public:
private:
void paintMarker(const RefactorMarker& marker, QPainter *painter, const QRect &clip);
RefactorMarkers m_markers;
- BaseTextEditorWidget *m_editor;
+ TextEditorWidget *m_editor;
int m_maxWidth;
const QIcon m_icon;
};