diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-08-18 14:23:06 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-08-18 14:23:43 +0200 |
commit | 610f77ed3366d28be7e2732883c195f3c024e7ed (patch) | |
tree | 691bd8ebf53c7a90ceaef418794dbcefae641718 /src/plugins/texteditor/texteditoractionhandler.h | |
parent | 2a3684fb2fb55119d9c977be4a9c3fd3ce562ec2 (diff) | |
download | qt-creator-610f77ed3366d28be7e2732883c195f3c024e7ed.tar.gz |
Header cleanup in TextEditor.
Change-Id: I832d255a4d8f291426d54ad0353641db515a511a
Reviewed-on: http://codereview.qt.nokia.com/3182
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.h')
-rw-r--r-- | src/plugins/texteditor/texteditoractionhandler.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h index 8f197676d0..96f7164159 100644 --- a/src/plugins/texteditor/texteditoractionhandler.h +++ b/src/plugins/texteditor/texteditoractionhandler.h @@ -34,16 +34,22 @@ #define TEXTEDITORACTIONHANDLER_H #include "texteditor_global.h" -#include "basetexteditor.h" -#include "coreplugin/icontext.h" +#include <coreplugin/icontext.h> -#include <QtCore/QList> #include <QtCore/QObject> #include <QtCore/QPointer> #include <QtCore/QList> +QT_FORWARD_DECLARE_CLASS(QAction) + +namespace Core { +class ICore; +class IEditor; +} + namespace TextEditor { +class BaseTextEditorWidget; // Redirects slots from global actions to the respective editor. @@ -60,6 +66,8 @@ public: }; explicit TextEditorActionHandler(const char *context, uint optionalActions = None); + ~TextEditorActionHandler(); + void setupActions(BaseTextEditorWidget *editor); void initializeActions(); |