diff options
Diffstat (limited to 'src/plugins/texteditor/behaviorsettingspage.h')
-rw-r--r-- | src/plugins/texteditor/behaviorsettingspage.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/plugins/texteditor/behaviorsettingspage.h b/src/plugins/texteditor/behaviorsettingspage.h index 71c9c6a5ec..8d2040bc68 100644 --- a/src/plugins/texteditor/behaviorsettingspage.h +++ b/src/plugins/texteditor/behaviorsettingspage.h @@ -32,9 +32,7 @@ #include "texteditor_global.h" -#include <coreplugin/dialogs/ioptionspage.h> - -#include <QtCore/QObject> +#include "texteditoroptionspage.h" namespace TextEditor { @@ -46,13 +44,10 @@ struct BehaviorSettingsPageParameters { QString id; QString displayName; - QString category; - QString displayCategory; - QIcon categoryIcon; QString settingsPrefix; }; -class BehaviorSettingsPage : public Core::IOptionsPage +class BehaviorSettingsPage : public TextEditorOptionsPage { Q_OBJECT @@ -63,20 +58,16 @@ public: // IOptionsPage QString id() const; QString displayName() const; - QString category() const; - QString displayCategory() const; - QIcon categoryIcon() const; QWidget *createPage(QWidget *parent); void apply(); void finish() { } + bool matches(const QString &s) const; const TabSettings &tabSettings() const; const StorageSettings &storageSettings() const; const BehaviorSettings &behaviorSettings() const; - virtual bool matches(const QString &s) const; - signals: void tabSettingsChanged(const TextEditor::TabSettings &); void storageSettingsChanged(const TextEditor::StorageSettings &); |