summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/behaviorsettingspage.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-04-04 11:17:13 +0200
committerEike Ziller <eike.ziller@digia.com>2013-04-04 15:36:35 +0200
commit52575f1c62e97efd934c394d29c636cf80250674 (patch)
treed8667bb6a945d826161a58104a59764cb27140ba /src/plugins/texteditor/behaviorsettingspage.h
parent43969c4e56bcf3d73ea33eaf01d80a4008bdda4b (diff)
downloadqt-creator-52575f1c62e97efd934c394d29c636cf80250674.tar.gz
Add hint to text editor settings pointing to coding style
The tab and indentation settings in Text Editor > Behavior are only used for non-code files. Add a hint with links to the respective coding style settings. Change-Id: I1d7c1154269c4914d511ef6ef3308a2b1f933d52 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/texteditor/behaviorsettingspage.h')
-rw-r--r--src/plugins/texteditor/behaviorsettingspage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/texteditor/behaviorsettingspage.h b/src/plugins/texteditor/behaviorsettingspage.h
index 18aff4ab99..ccaaaa34ef 100644
--- a/src/plugins/texteditor/behaviorsettingspage.h
+++ b/src/plugins/texteditor/behaviorsettingspage.h
@@ -33,6 +33,7 @@
#include "texteditor_global.h"
#include "texteditoroptionspage.h"
+#include "tabsettingswidget.h"
namespace TextEditor {
@@ -79,6 +80,9 @@ signals:
void behaviorSettingsChanged(const TextEditor::BehaviorSettings &);
void extraEncodingSettingsChanged(const TextEditor::ExtraEncodingSettings &);
+private slots:
+ void openCodingStylePreferences(TextEditor::TabSettingsWidget::CodingStyleLink link);
+
private:
void settingsFromUI(TypingSettings *typingSettings,
StorageSettings *storageSettings,