Changeset View
Changeset View
Standalone View
Standalone View
src/abstractappearance.h
Show All 36 Lines | 31 | public: | |||
---|---|---|---|---|---|
37 | 37 | | |||
38 | /** @returns the installed themes' paths*/ | 38 | /** @returns the installed themes' paths*/ | ||
39 | virtual QStringList installedThemes() const = 0; | 39 | virtual QStringList installedThemes() const = 0; | ||
40 | 40 | | |||
41 | void setTheme(const QString& name); | 41 | void setTheme(const QString& name); | ||
42 | void setCursor(const QString& name); | 42 | void setCursor(const QString& name); | ||
43 | void setIcon(const QString& name); | 43 | void setIcon(const QString& name); | ||
44 | void setIconFallback(const QString& name); | 44 | void setIconFallback(const QString& name); | ||
45 | void setFont(const QString& font); | | |||
46 | void setShowIconsInMenus(bool show); | 45 | void setShowIconsInMenus(bool show); | ||
47 | void setShowIconsInButtons(bool show); | 46 | void setShowIconsInButtons(bool show); | ||
48 | void setPrimaryButtonWarpsSlider(bool enabled); | 47 | void setPrimaryButtonWarpsSlider(bool enabled); | ||
49 | void setToolbarStyle(const QString& style); | 48 | void setToolbarStyle(const QString& style); | ||
50 | 49 | | |||
51 | QString getTheme() const; | 50 | QString getTheme() const; | ||
52 | QString getCursor() const; | 51 | QString getCursor() const; | ||
53 | QString getIcon() const; | 52 | QString getIcon() const; | ||
54 | QString getIconFallback() const; | 53 | QString getIconFallback() const; | ||
55 | QString getFont() const; | | |||
56 | QString getThemeGtk3() const; | 54 | QString getThemeGtk3() const; | ||
57 | QString getToolbarStyle() const; | 55 | QString getToolbarStyle() const; | ||
58 | bool getShowIconsInButtons() const; | 56 | bool getShowIconsInButtons() const; | ||
59 | bool getShowIconsInMenus() const; | 57 | bool getShowIconsInMenus() const; | ||
60 | bool getPrimaryButtonWarpsSlider() const; | 58 | bool getPrimaryButtonWarpsSlider() const; | ||
61 | 59 | | |||
62 | QStringList installedThemesNames() const; | 60 | QStringList installedThemesNames() const; | ||
63 | bool hasProperty(const QString& key) const; | 61 | bool hasProperty(const QString& key) const; | ||
64 | 62 | | |||
65 | static QMap<QString,QString> readSettingsTuples(QIODevice* device); | 63 | static QMap<QString,QString> readSettingsTuples(QIODevice* device); | ||
66 | 64 | | |||
67 | protected: | 65 | protected: | ||
68 | QMap<QString, QString> m_settings; | 66 | QMap<QString, QString> m_settings; | ||
69 | }; | 67 | }; | ||
70 | 68 | | |||
71 | #endif | 69 | #endif |