summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/behaviorsettingspage.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-01-20 11:27:08 +0100
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-01-20 12:54:45 +0100
commit545c9b9190e2851473b83976b0d218724242b61f (patch)
treedf025e9d6cb86908d86ceb80605909c60a49bb2e /src/plugins/texteditor/behaviorsettingspage.h
parented5a0fb0b2176ec11f0dea74c4ac38bca4c0c547 (diff)
downloadqt-creator-545c9b9190e2851473b83976b0d218724242b61f.tar.gz
Text editor settings cleanup to avoid some copying
Diffstat (limited to 'src/plugins/texteditor/behaviorsettingspage.h')
-rw-r--r--src/plugins/texteditor/behaviorsettingspage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/texteditor/behaviorsettingspage.h b/src/plugins/texteditor/behaviorsettingspage.h
index 389e0c5947..bd5865013a 100644
--- a/src/plugins/texteditor/behaviorsettingspage.h
+++ b/src/plugins/texteditor/behaviorsettingspage.h
@@ -69,9 +69,9 @@ public:
void apply();
void finish() { }
- TabSettings tabSettings() const;
- StorageSettings storageSettings() const;
- BehaviorSettings behaviorSettings() const;
+ const TabSettings &tabSettings() const;
+ const StorageSettings &storageSettings() const;
+ const BehaviorSettings &behaviorSettings() const;
virtual bool matches(const QString &s) const;