Changeset View
Changeset View
Standalone View
Standalone View
kcms/ksplash/kcm.h
Show All 15 Lines | 1 | /* | |||
---|---|---|---|---|---|
16 | along with this library; see the file COPYING.LIB. If not, write to | 16 | along with this library; see the file COPYING.LIB. If not, write to | ||
17 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
18 | Boston, MA 02110-1301, USA. | 18 | Boston, MA 02110-1301, USA. | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #ifndef _KCM_SEARCH_H | 21 | #ifndef _KCM_SEARCH_H | ||
22 | #define _KCM_SEARCH_H | 22 | #define _KCM_SEARCH_H | ||
23 | 23 | | |||
24 | #include <Plasma/Package> | 24 | #include <KPackage/Package> | ||
25 | #include <KQuickAddons/ConfigModule> | 25 | #include <KQuickAddons/ConfigModule> | ||
26 | 26 | | |||
27 | class QStandardItemModel; | 27 | class QStandardItemModel; | ||
28 | class SplashScreenSettings; | 28 | class SplashScreenSettings; | ||
29 | 29 | | |||
30 | class KCMSplashScreen : public KQuickAddons::ConfigModule | 30 | class KCMSplashScreen : public KQuickAddons::ConfigModule | ||
31 | { | 31 | { | ||
32 | Q_OBJECT | 32 | Q_OBJECT | ||
Show All 24 Lines | 52 | public Q_SLOTS: | |||
57 | void test(const QString &plugin); | 57 | void test(const QString &plugin); | ||
58 | 58 | | |||
59 | Q_SIGNALS: | 59 | Q_SIGNALS: | ||
60 | void testingChanged(); | 60 | void testingChanged(); | ||
61 | void testingFailed(); | 61 | void testingFailed(); | ||
62 | 62 | | |||
63 | private: | 63 | private: | ||
64 | void loadModel(); | 64 | void loadModel(); | ||
65 | QList<Plasma::Package> availablePackages(const QString &component); | 65 | QList<KPackage::Package> availablePackages(const QString &component); | ||
66 | 66 | | |||
67 | SplashScreenSettings *m_settings; | 67 | SplashScreenSettings *m_settings; | ||
68 | QStandardItemModel *m_model; | 68 | QStandardItemModel *m_model; | ||
69 | 69 | | |||
70 | QProcess *m_testProcess = nullptr; | 70 | QProcess *m_testProcess = nullptr; | ||
71 | }; | 71 | }; | ||
72 | 72 | | |||
73 | #endif | 73 | #endif |