summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/fontsettings.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-06-18 17:35:46 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-07-13 14:22:27 +0200
commit0e70a1e85e3b3f05e6aed4f8d67360b29f777792 (patch)
treea1a3043c357d4fb147b1ada63b480edacbc971ef /src/plugins/texteditor/fontsettings.h
parentcc730442d6a74632219be96d8974db29955a913b (diff)
downloadqt-creator-0e70a1e85e3b3f05e6aed4f8d67360b29f777792.tar.gz
Moved editing of the color scheme into a separate dialog
In preparation of being able to select from multiple color schemes.
Diffstat (limited to 'src/plugins/texteditor/fontsettings.h')
-rw-r--r--src/plugins/texteditor/fontsettings.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/texteditor/fontsettings.h b/src/plugins/texteditor/fontsettings.h
index 20eb325beb..c74524b618 100644
--- a/src/plugins/texteditor/fontsettings.h
+++ b/src/plugins/texteditor/fontsettings.h
@@ -59,7 +59,7 @@ public:
FontSettings();
void clear();
- inline bool isEmpty() const { return m_formats.isEmpty(); }
+ inline bool isEmpty() const { return m_scheme.isEmpty(); }
void toSettings(const QString &category,
const FormatDescriptions &descriptions,
@@ -103,6 +103,12 @@ public:
*/
Format &formatFor(const QString &category);
+ ColorScheme colorScheme() const
+ { return m_scheme; }
+
+ void setColorScheme(const ColorScheme &scheme)
+ { m_scheme = scheme; }
+
bool equals(const FontSettings &f) const;
static QString defaultFixedFontFamily();