Changeset View
Changeset View
Standalone View
Standalone View
src/themeconfig.h
Show All 28 Lines | |||||
29 | 29 | | |||
30 | class ThemeConfig : public QWidget | 30 | class ThemeConfig : public QWidget | ||
31 | { | 31 | { | ||
32 | Q_OBJECT | 32 | Q_OBJECT | ||
33 | public: | 33 | public: | ||
34 | explicit ThemeConfig(const KSharedConfigPtr &config, QWidget *parent = nullptr); | 34 | explicit ThemeConfig(const KSharedConfigPtr &config, QWidget *parent = nullptr); | ||
35 | ~ThemeConfig(); | 35 | ~ThemeConfig(); | ||
36 | 36 | | |||
37 | QVariantMap save(); | 37 | void save(QVariantMap &args); | ||
38 | QString themeConfigPath() const; | 38 | QString themeConfigPath() const; | ||
39 | 39 | | |||
40 | Q_SIGNALS: | 40 | Q_SIGNALS: | ||
41 | void changed(bool); | 41 | void changed(bool); | ||
42 | void themesChanged(); | 42 | void themesChanged(); | ||
43 | 43 | | |||
44 | private Q_SLOTS: | 44 | private Q_SLOTS: | ||
45 | void themeSelected(const QModelIndex &index); | 45 | void themeSelected(const QModelIndex &index); | ||
Show All 18 Lines |