Changeset View
Changeset View
Standalone View
Standalone View
kcms/style/gtkpage.h
Show All 15 Lines | |||||
16 | * | 16 | * | ||
17 | * You should have received a copy of the GNU General Public License | 17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #pragma once | 21 | #pragma once | ||
22 | 22 | | |||
23 | #include <QObject> | 23 | #include <QObject> | ||
24 | #include <QDBusInterface> | | |||
25 | 24 | | |||
26 | #include "gtkthemesmodel.h" | 25 | #include "gtkthemesmodel.h" | ||
26 | #include "gtkconfigdbusinterface.h" | ||||
27 | 27 | | |||
28 | class GtkPage : public QObject | 28 | class GtkPage : public QObject | ||
29 | { | 29 | { | ||
30 | Q_OBJECT | 30 | Q_OBJECT | ||
31 | 31 | | |||
32 | Q_PROPERTY(GtkThemesModel *gtk2ThemesModel MEMBER m_gtk2ThemesModel NOTIFY gtk2ThemesModelChanged) | 32 | Q_PROPERTY(GtkThemesModel *gtk2ThemesModel MEMBER m_gtk2ThemesModel NOTIFY gtk2ThemesModelChanged) | ||
33 | Q_PROPERTY(GtkThemesModel *gtk3ThemesModel MEMBER m_gtk3ThemesModel NOTIFY gtk3ThemesModelChanged) | 33 | Q_PROPERTY(GtkThemesModel *gtk3ThemesModel MEMBER m_gtk3ThemesModel NOTIFY gtk3ThemesModelChanged) | ||
34 | 34 | | |||
Show All 27 Lines | 56 | Q_SIGNALS: | |||
62 | void selectGtk3ThemeInCombobox(const QString &themeName); | 62 | void selectGtk3ThemeInCombobox(const QString &themeName); | ||
63 | 63 | | |||
64 | void gtkThemeSettingsChanged(); | 64 | void gtkThemeSettingsChanged(); | ||
65 | 65 | | |||
66 | private: | 66 | private: | ||
67 | GtkThemesModel *m_gtk2ThemesModel; | 67 | GtkThemesModel *m_gtk2ThemesModel; | ||
68 | GtkThemesModel *m_gtk3ThemesModel; | 68 | GtkThemesModel *m_gtk3ThemesModel; | ||
69 | 69 | | |||
70 | QDBusInterface gtkConfigInterface; | 70 | GtkConfigDBusInterface gtkConfigInterface; | ||
71 | }; | 71 | }; |