Changeset View
Changeset View
Standalone View
Standalone View
kcms/cursortheme/kcmcursortheme.h
Show All 17 Lines | |||||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef KCMCURSORTHEME_H | 20 | #ifndef KCMCURSORTHEME_H | ||
21 | #define KCMCURSORTHEME_H | 21 | #define KCMCURSORTHEME_H | ||
22 | 22 | | |||
23 | #include <KQuickAddons/ManagedConfigModule> | 23 | #include <KQuickAddons/ManagedConfigModule> | ||
24 | #include <QScopedPointer> | 24 | #include <QScopedPointer> | ||
25 | 25 | | |||
26 | class QQmlListReference; | ||||
26 | class QStandardItemModel; | 27 | class QStandardItemModel; | ||
27 | class QTemporaryFile; | 28 | class QTemporaryFile; | ||
28 | 29 | | |||
29 | class CursorThemeModel; | 30 | class CursorThemeModel; | ||
30 | class SortProxyModel; | 31 | class SortProxyModel; | ||
31 | class CursorTheme; | 32 | class CursorTheme; | ||
32 | class CursorThemeSettings; | 33 | class CursorThemeSettings; | ||
33 | 34 | | |||
▲ Show 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 86 | Q_SIGNALS: | |||
90 | void preferredSizeChanged(); | 91 | void preferredSizeChanged(); | ||
91 | void themeApplied(); | 92 | void themeApplied(); | ||
92 | 93 | | |||
93 | void showSuccessMessage(const QString &message); | 94 | void showSuccessMessage(const QString &message); | ||
94 | void showInfoMessage(const QString &message); | 95 | void showInfoMessage(const QString &message); | ||
95 | void showErrorMessage(const QString &message); | 96 | void showErrorMessage(const QString &message); | ||
96 | 97 | | |||
97 | public Q_SLOTS: | 98 | public Q_SLOTS: | ||
98 | void getNewClicked(); | 99 | void ghnsEntriesChanged(const QQmlListReference &changedEntries); | ||
99 | void installThemeFromFile(const QUrl &url); | 100 | void installThemeFromFile(const QUrl &url); | ||
100 | void removeTheme(int row); | 101 | void removeTheme(int row); | ||
101 | 102 | | |||
102 | private Q_SLOTS: | 103 | private Q_SLOTS: | ||
103 | /** Updates the size combo box. It loads the size list of the selected cursor | 104 | /** Updates the size combo box. It loads the size list of the selected cursor | ||
104 | theme with the corresponding icons and chooses an appropriate entry. It | 105 | theme with the corresponding icons and chooses an appropriate entry. It | ||
105 | enables the combo box and the label if the theme provides more than one | 106 | enables the combo box and the label if the theme provides more than one | ||
106 | size, otherwise it disables it. If the size setting is looked in kiosk | 107 | size, otherwise it disables it. If the size setting is looked in kiosk | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |