TextEditor: Rename BaseTextEditorWidget to TextEditorWidget

... and some of the related implementation details

Change-Id: I1f03aa5acf2d3fb2cfc2a6a7845f3d3578b0408d
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
hjk
2014-09-26 11:37:54 +02:00
committed by David Schulz
parent cfaa30d0b9
commit 10c8d5f0ca
137 changed files with 825 additions and 827 deletions

View File

@@ -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;
};