diff options
Diffstat (limited to 'src/plugins/texteditor/colorscheme.h')
-rw-r--r-- | src/plugins/texteditor/colorscheme.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/texteditor/colorscheme.h b/src/plugins/texteditor/colorscheme.h index 7ccd9f70fd..22bbc399f8 100644 --- a/src/plugins/texteditor/colorscheme.h +++ b/src/plugins/texteditor/colorscheme.h @@ -80,11 +80,11 @@ class ColorScheme public: ColorScheme(); - void setName(const QString &name) - { m_name = name; } + void setDisplayName(const QString &name) + { m_displayName = name; } - QString name() const - { return m_name; } + QString displayName() const + { return m_displayName; } inline bool isEmpty() const { return m_formats.isEmpty(); } @@ -104,14 +104,14 @@ public: inline bool equals(const ColorScheme &cs) const { return m_formats == cs.m_formats - && m_name == cs.m_name; + && m_displayName == cs.m_displayName; } static QString readNameOfScheme(const QString &fileName); private: QMap<QString, Format> m_formats; - QString m_name; + QString m_displayName; }; inline bool operator==(const ColorScheme &cs1, const ColorScheme &cs2) { return cs1.equals(cs2); } |