Changeset View
Changeset View
Standalone View
Standalone View
kded/themepreviewer.h
Show All 22 Lines | |||||
23 | #include <QProcess> | 23 | #include <QProcess> | ||
24 | #include <QString> | 24 | #include <QString> | ||
25 | 25 | | |||
26 | class ThemePreviewer : QObject { | 26 | class ThemePreviewer : QObject { | ||
27 | Q_OBJECT | 27 | Q_OBJECT | ||
28 | public: | 28 | public: | ||
29 | ThemePreviewer(QObject *parent); | 29 | ThemePreviewer(QObject *parent); | ||
30 | 30 | | |||
31 | void showGtk2App(const QString &themeName); | | |||
32 | void showGtk3App(const QString &themeName); | 31 | void showGtk3App(const QString &themeName); | ||
33 | 32 | | |||
34 | private Q_SLOTS: | | |||
35 | void startXsettingsd(); | | |||
36 | void stopXsettingsd(); | | |||
37 | | ||||
38 | private: | 33 | private: | ||
39 | static const QString previewGtk2ConfigPath; | | |||
40 | static const QString currentGtk2ConfigPath; | | |||
41 | static const QString gtk2PreviewerExecutablePath; | | |||
42 | | ||||
43 | static const QString gtk3PreviewerExecutablePath; | 34 | static const QString gtk3PreviewerExecutablePath; | ||
44 | 35 | | |||
45 | QProcess gtk2PreviewerProccess; | | |||
46 | QProcess gtk3PreviewerProccess; | 36 | QProcess gtk3PreviewerProccess; | ||
47 | }; | 37 | }; |