Changeset View
Changeset View
Standalone View
Standalone View
kcms/lookandfeel/kcm.h
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 52 | enum Roles { | |||
---|---|---|---|---|---|
63 | HasPlasmaThemeRole, | 63 | HasPlasmaThemeRole, | ||
64 | HasCursorsRole, | 64 | HasCursorsRole, | ||
65 | HasWindowSwitcherRole, | 65 | HasWindowSwitcherRole, | ||
66 | HasDesktopSwitcherRole | 66 | HasDesktopSwitcherRole | ||
67 | }; | 67 | }; | ||
68 | KCMLookandFeel(QObject* parent, const QVariantList& args); | 68 | KCMLookandFeel(QObject* parent, const QVariantList& args); | ||
69 | ~KCMLookandFeel(); | 69 | ~KCMLookandFeel(); | ||
70 | 70 | | |||
71 | QList<Plasma::Package> availablePackages(const QString &component = QString()); | 71 | //List only packages which provide at least one of the components | ||
72 | QList<Plasma::Package> availablePackages(const QStringList &components); | ||||
72 | 73 | | |||
73 | QStandardItemModel *lookAndFeelModel(); | 74 | QStandardItemModel *lookAndFeelModel(); | ||
74 | 75 | | |||
75 | QString selectedPlugin() const; | 76 | QString selectedPlugin() const; | ||
76 | void setSelectedPlugin(const QString &plugin); | 77 | void setSelectedPlugin(const QString &plugin); | ||
77 | 78 | | |||
78 | int selectedPluginIndex() const; | 79 | int selectedPluginIndex() const; | ||
79 | 80 | | |||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |