diff options
author | hjk <hjk121@nokiamail.com> | 2014-07-23 19:10:38 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-07-25 13:45:55 +0200 |
commit | bf5e43be94b24517d6e62acbfd18fdc5a25ede73 (patch) | |
tree | 6f977217f47634c08e30aadc20105654b3ae6918 /src/plugins/texteditor/basehoverhandler.h | |
parent | 15421995ab1d4eada18e721a3503c87f58e94db9 (diff) | |
download | qt-creator-bf5e43be94b24517d6e62acbfd18fdc5a25ede73.tar.gz |
TextEditor: Merge ITextEditor and BaseTextEditor
Adjust all callers, de-export BaseTextEditorAnimator
Change-Id: I2329d976c1398e2449844bb480a4d4ed29859506
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/texteditor/basehoverhandler.h')
-rw-r--r-- | src/plugins/texteditor/basehoverhandler.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/texteditor/basehoverhandler.h b/src/plugins/texteditor/basehoverhandler.h index ea6c781568..7d487b21b1 100644 --- a/src/plugins/texteditor/basehoverhandler.h +++ b/src/plugins/texteditor/basehoverhandler.h @@ -44,7 +44,7 @@ namespace Core { class IEditor; } namespace TextEditor { -class ITextEditor; +class BaseTextEditor; class BaseTextEditorWidget; class TEXTEDITOR_EXPORT BaseHoverHandler : public QObject @@ -57,8 +57,8 @@ public: private slots: void editorOpened(Core::IEditor *editor); - void showToolTip(TextEditor::ITextEditor *editor, const QPoint &point, int pos); - void updateContextHelpId(TextEditor::ITextEditor *editor, int pos); + void showToolTip(TextEditor::BaseTextEditor *editor, const QPoint &point, int pos); + void updateContextHelpId(TextEditor::BaseTextEditor *editor, int pos); protected: void setToolTip(const QString &tooltip); @@ -75,12 +75,12 @@ protected: private: void clear(); - void process(ITextEditor *editor, int pos); + void process(BaseTextEditor *editor, int pos); virtual bool acceptEditor(Core::IEditor *editor) = 0; - virtual void identifyMatch(ITextEditor *editor, int pos) = 0; + virtual void identifyMatch(BaseTextEditor *editor, int pos) = 0; virtual void decorateToolTip(); - virtual void operateTooltip(ITextEditor *editor, const QPoint &point); + virtual void operateTooltip(BaseTextEditor *editor, const QPoint &point); bool m_diagnosticTooltip; QString m_toolTip; |