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/texteditoractionhandler.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/texteditoractionhandler.h')
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h index a7de8004cd..d4fec4f846 100644 --- a/src/plugins/texteditor/texteditoractionhandler.h +++ b/src/plugins/texteditor/texteditoractionhandler.h @@ -45,8 +45,6 @@ namespace TextEditor { -class BaseTextEditor; - // Redirects slots from global actions to the respective editor. class TEXTEDITOR_EXPORT TextEditorActionHandler : public QObject @@ -62,7 +60,7 @@ public: }; explicit TextEditorActionHandler(const char *context, uint optionalActions = None); - void setupActions(BaseTextEditor *editor); + void setupActions(BaseTextEditorWidget *editor); void initializeActions(); @@ -73,7 +71,7 @@ public slots: void updateCopyAction(); protected: - const QPointer<BaseTextEditor> ¤tEditor() const; + const QPointer<BaseTextEditorWidget> ¤tEditor() const; QAction *registerNewAction(const QString &id, bool scriptable=false, const QString &title = QString()); QAction *registerNewAction(const QString &id, QObject *receiver, const char *slot, bool scriptable = false, const QString &title = QString()); @@ -185,7 +183,7 @@ private: QAction *m_insertLineBelowAction; uint m_optionalActions; - QPointer<BaseTextEditor> m_currentEditor; + QPointer<BaseTextEditorWidget> m_currentEditor; Core::Context m_contextId; bool m_initialized; }; |