summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/basetextdocument.h
diff options
context:
space:
mode:
authorLeandro Melo <leandro.melo@nokia.com>2011-02-01 14:13:54 +0100
committerLeandro Melo <leandro.melo@nokia.com>2011-02-21 17:22:24 +0100
commitea313f3ec84692c6112ad2a0f7d47909dafbb69c (patch)
treee952cb85d0e9ca8d974d2c44f8dc4396a1cc0026 /src/plugins/texteditor/basetextdocument.h
parentcbafc50acc48d75a1fc993e72bcb6587f8bb9a4e (diff)
downloadqt-creator-ea313f3ec84692c6112ad2a0f7d47909dafbb69c.tar.gz
Text editor: Introduce per project settings
With some refactorings to make the code look better. Reviewed-by: con
Diffstat (limited to 'src/plugins/texteditor/basetextdocument.h')
-rw-r--r--src/plugins/texteditor/basetextdocument.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/texteditor/basetextdocument.h b/src/plugins/texteditor/basetextdocument.h
index a47d0f2b83..37b43407d6 100644
--- a/src/plugins/texteditor/basetextdocument.h
+++ b/src/plugins/texteditor/basetextdocument.h
@@ -51,6 +51,7 @@ class DocumentMarker;
class ITextMarkable;
class StorageSettings;
class TabSettings;
+class ExtraEncodingSettings;
class SyntaxHighlighter;
class BaseTextDocumentPrivate;
@@ -64,9 +65,11 @@ public:
void setStorageSettings(const StorageSettings &storageSettings);
void setTabSettings(const TabSettings &tabSettings);
+ void setExtraEncodingSettings(const ExtraEncodingSettings &extraEncodingSettings);
const StorageSettings &storageSettings() const;
const TabSettings &tabSettings() const;
+ const ExtraEncodingSettings &extraEncodingSettings() const;
ITextMarkable *documentMarker() const;