Changeset View
Changeset View
Standalone View
Standalone View
applets/icon/iconapplet.h
Show All 26 Lines | |||||
27 | 27 | | |||
28 | #include <KPropertiesDialog> | 28 | #include <KPropertiesDialog> | ||
29 | 29 | | |||
30 | class KFileItemActions; | 30 | class KFileItemActions; | ||
31 | class KStartupInfo; | 31 | class KStartupInfo; | ||
32 | 32 | | |||
33 | class QMenu; | 33 | class QMenu; | ||
34 | 34 | | |||
35 | namespace TaskManager | ||||
36 | { | ||||
37 | class StartupTasksModel; | ||||
38 | } | ||||
39 | | ||||
35 | class IconApplet : public Plasma::Applet | 40 | class IconApplet : public Plasma::Applet | ||
36 | { | 41 | { | ||
37 | Q_OBJECT | 42 | Q_OBJECT | ||
38 | 43 | | |||
39 | Q_PROPERTY(QUrl url READ url WRITE setUrl NOTIFY urlChanged) | 44 | Q_PROPERTY(QUrl url READ url WRITE setUrl NOTIFY urlChanged) | ||
40 | 45 | | |||
41 | Q_PROPERTY(QString name READ name NOTIFY nameChanged) | 46 | Q_PROPERTY(QString name READ name NOTIFY nameChanged) | ||
42 | Q_PROPERTY(QString iconName READ iconName NOTIFY iconNameChanged) | 47 | Q_PROPERTY(QString iconName READ iconName NOTIFY iconNameChanged) | ||
▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 80 | private: | |||
97 | 102 | | |||
98 | QAction *m_openContainingFolderAction = nullptr; | 103 | QAction *m_openContainingFolderAction = nullptr; | ||
99 | 104 | | |||
100 | KFileItemActions *m_fileItemActions = nullptr; | 105 | KFileItemActions *m_fileItemActions = nullptr; | ||
101 | QScopedPointer<QMenu> m_openWithMenu; | 106 | QScopedPointer<QMenu> m_openWithMenu; | ||
102 | 107 | | |||
103 | QPointer<KPropertiesDialog> m_configDialog; | 108 | QPointer<KPropertiesDialog> m_configDialog; | ||
104 | 109 | | |||
105 | KStartupInfo *m_startupInfo = nullptr; | 110 | TaskManager::StartupTasksModel *m_startupTasksModel = nullptr; | ||
106 | 111 | | |||
107 | }; | 112 | }; |