diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-01-20 11:27:08 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-01-20 12:54:45 +0100 |
commit | 545c9b9190e2851473b83976b0d218724242b61f (patch) | |
tree | df025e9d6cb86908d86ceb80605909c60a49bb2e /src/plugins/texteditor/behaviorsettingspage.h | |
parent | ed5a0fb0b2176ec11f0dea74c4ac38bca4c0c547 (diff) | |
download | qt-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.h | 6 |
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; |