Changeset View
Changeset View
Standalone View
Standalone View
kded/gtkconfig.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 59 | public: | |||
---|---|---|---|---|---|
64 | void setIconTheme(int iconGroup) const; | 64 | void setIconTheme(int iconGroup) const; | ||
65 | void setCursorTheme() const; | 65 | void setCursorTheme() const; | ||
66 | void setIconsOnButtons() const; | 66 | void setIconsOnButtons() const; | ||
67 | void setIconsInMenus() const; | 67 | void setIconsInMenus() const; | ||
68 | void setToolbarStyle() const; | 68 | void setToolbarStyle() const; | ||
69 | void setScrollbarBehavior() const; | 69 | void setScrollbarBehavior() const; | ||
70 | void setDarkThemePreference() const; | 70 | void setDarkThemePreference() const; | ||
71 | void setWindowDecorationsButtonsOrder() const; | 71 | void setWindowDecorationsButtonsOrder() const; | ||
72 | void setEnableAnimations() const; | ||||
72 | 73 | | |||
73 | void applyAllSettings() const; | 74 | void applyAllSettings() const; | ||
74 | 75 | | |||
75 | public Q_SLOTS: | 76 | public Q_SLOTS: | ||
76 | Q_SCRIPTABLE void setGtk2Theme(const QString &themeName) const; | 77 | Q_SCRIPTABLE void setGtk2Theme(const QString &themeName) const; | ||
77 | Q_SCRIPTABLE void setGtk3Theme(const QString &themeName) const; | 78 | Q_SCRIPTABLE void setGtk3Theme(const QString &themeName) const; | ||
78 | 79 | | |||
79 | Q_SCRIPTABLE QString gtk2Theme() const; | 80 | Q_SCRIPTABLE QString gtk2Theme() const; | ||
80 | Q_SCRIPTABLE QString gtk3Theme() const; | 81 | Q_SCRIPTABLE QString gtk3Theme() const; | ||
81 | 82 | | |||
82 | Q_SCRIPTABLE void showGtk2ThemePreview(const QString &themeName) const; | 83 | Q_SCRIPTABLE void showGtk2ThemePreview(const QString &themeName) const; | ||
83 | Q_SCRIPTABLE void showGtk3ThemePreview(const QString &themeName) const; | 84 | Q_SCRIPTABLE void showGtk3ThemePreview(const QString &themeName) const; | ||
84 | 85 | | |||
85 | void onGlobalSettingsChange(int settingsChangeType, int arg) const; | 86 | void onGlobalSettingsChange(int settingsChangeType, int arg) const; | ||
86 | void onKWinSettingsChange(const KConfigGroup &group, const QByteArrayList &names) const; | 87 | void onKWinSettingsChange(const KConfigGroup &group, const QByteArrayList &names) const; | ||
88 | void onOwnSettingsChange(const KConfigGroup &group, const QByteArrayList &names) const; | ||||
87 | 89 | | |||
88 | private: | 90 | private: | ||
89 | QScopedPointer<ConfigValueProvider> configValueProvider; | 91 | QScopedPointer<ConfigValueProvider> configValueProvider; | ||
90 | QScopedPointer<ThemePreviewer> themePreviewer; | 92 | QScopedPointer<ThemePreviewer> themePreviewer; | ||
91 | KConfigWatcher::Ptr kwinConfigWatcher; | 93 | KConfigWatcher::Ptr kwinConfigWatcher; | ||
94 | KConfigWatcher::Ptr ownConfigWatcher; | ||||
92 | }; | 95 | }; |