Changeset View
Changeset View
Standalone View
Standalone View
kcms/ksplash/kcm.h
Show All 33 Lines | 32 | { | |||
---|---|---|---|---|---|
34 | Q_PROPERTY(QStandardItemModel *splashModel READ splashModel CONSTANT) | 34 | Q_PROPERTY(QStandardItemModel *splashModel READ splashModel CONSTANT) | ||
35 | Q_PROPERTY(QString selectedPlugin READ selectedPlugin WRITE setSelectedPlugin NOTIFY selectedPluginChanged) | 35 | Q_PROPERTY(QString selectedPlugin READ selectedPlugin WRITE setSelectedPlugin NOTIFY selectedPluginChanged) | ||
36 | Q_PROPERTY(int selectedPluginIndex READ selectedPluginIndex NOTIFY selectedPluginIndexChanged) | 36 | Q_PROPERTY(int selectedPluginIndex READ selectedPluginIndex NOTIFY selectedPluginIndexChanged) | ||
37 | Q_PROPERTY(bool testing READ testing NOTIFY testingChanged) | 37 | Q_PROPERTY(bool testing READ testing NOTIFY testingChanged) | ||
38 | 38 | | |||
39 | public: | 39 | public: | ||
40 | enum Roles { | 40 | enum Roles { | ||
41 | PluginNameRole = Qt::UserRole +1, | 41 | PluginNameRole = Qt::UserRole +1, | ||
42 | ScreenhotRole, | 42 | ScreenshotRole, | ||
43 | DescriptionRole | 43 | DescriptionRole | ||
44 | }; | 44 | }; | ||
45 | KCMSplashScreen(QObject* parent, const QVariantList& args); | 45 | KCMSplashScreen(QObject* parent, const QVariantList& args); | ||
46 | 46 | | |||
47 | QList<Plasma::Package> availablePackages(const QString &component); | 47 | QList<Plasma::Package> availablePackages(const QString &component); | ||
48 | 48 | | |||
49 | QStandardItemModel *splashModel(); | 49 | QStandardItemModel *splashModel() const; | ||
50 | 50 | | |||
51 | QString selectedPlugin() const; | 51 | QString selectedPlugin() const; | ||
52 | void setSelectedPlugin(const QString &plugin); | 52 | void setSelectedPlugin(const QString &plugin); | ||
53 | 53 | | |||
54 | int selectedPluginIndex() const; | 54 | int selectedPluginIndex() const; | ||
55 | 55 | | |||
56 | bool testing() const; | 56 | bool testing() const; | ||
57 | 57 | | |||
Show All 28 Lines |