Changeset View
Changeset View
Standalone View
Standalone View
src/appearancegtk3.h
Show All 30 Lines | |||||
31 | { | 31 | { | ||
32 | 32 | | |||
33 | public: | 33 | public: | ||
34 | QStringList installedThemes() const override; | 34 | QStringList installedThemes() const override; | ||
35 | bool saveSettings() const override; | 35 | bool saveSettings() const override; | ||
36 | bool loadSettings() override; | 36 | bool loadSettings() override; | ||
37 | bool saveSettings(const QString &file) const override; | 37 | bool saveSettings(const QString &file) const override; | ||
38 | bool loadSettings(const QString &path) override; | 38 | bool loadSettings(const QString &path) override; | ||
39 | bool getApplicationPreferDarkTheme() const; | | |||
40 | void setApplicationPreferDarkTheme(bool enable); | | |||
41 | 39 | | |||
42 | private: | 40 | private: | ||
43 | QString defaultConfigFile() const; | 41 | QString defaultConfigFile() const; | ||
44 | QString configFileName() const; | 42 | QString configFileName() const; | ||
45 | bool saveSettings(const KSharedConfig::Ptr &file) const; | 43 | bool saveSettings(const KSharedConfig::Ptr &file) const; | ||
46 | bool loadSettings(const KSharedConfig::Ptr &file); | 44 | bool loadSettings(const KSharedConfig::Ptr &file); | ||
47 | }; | 45 | }; | ||
48 | 46 | | |||
49 | #endif // APPEARANCEGTK3_H | 47 | #endif // APPEARANCEGTK3_H |