18 #ifndef BERRYIQTSTYLEMANAGER_H_
19 #define BERRYIQTSTYLEMANAGER_H_
38 Style(
const QString& name,
const QString& fn)
39 : name(name), fileName(fn) {}
49 {
return name < s.
name; }
52 {
return name == s.
name; }
70 {
return name < s.
name; }
73 {
return name == s.
name; }
81 virtual Style GetStyle()
const = 0;
82 virtual QString GetStylesheet()
const = 0;
83 virtual QString GetActiveTabStylesheet()
const = 0;
84 virtual QString GetTabStylesheet()
const = 0;
86 virtual void AddStyle(
const QString& styleFileName,
const QString& styleName = QString()) = 0;
87 virtual void AddStyles(
const QString& path) = 0;
88 virtual void RemoveStyle(
const QString& styleFileName) = 0;
89 virtual void RemoveStyles(
const QString& repository = QString()) = 0;
91 virtual void GetStyles(StyleList& styles)
const = 0;
92 virtual void SetStyle(
const QString& fileName) = 0;
94 virtual Style GetDefaultStyle()
const = 0;
95 virtual void SetDefaultStyle() = 0;
97 virtual void GetIconThemes(IconThemeList& iconThemes)
const = 0;
99 virtual void SetIconTheme(
const QString& themeName) = 0;
101 virtual bool Contains(
const QString& fileName)
const = 0;
bool operator<(const Style &s) const
IconTheme & operator=(const IconTheme &s)
bool operator==(const Style &s) const
Style(const QString &name, const QString &fn)
IconTheme(const QString &name)
bool operator==(const IconTheme &s) const
Style & operator=(const Style &s)
QList< IconTheme > IconThemeList
bool operator<(const IconTheme &s) const