Changeset View
Changeset View
Standalone View
Standalone View
krunner/view.h
Show All 17 Lines | |||||
18 | 18 | | |||
19 | #ifndef VIEW_H | 19 | #ifndef VIEW_H | ||
20 | #define VIEW_H | 20 | #define VIEW_H | ||
21 | 21 | | |||
22 | #include <QPointer> | 22 | #include <QPointer> | ||
23 | #include <QQuickView> | 23 | #include <QQuickView> | ||
24 | #include <KConfigGroup> | 24 | #include <KConfigGroup> | ||
25 | #include <KSharedConfig> | 25 | #include <KSharedConfig> | ||
26 | #include <KXmlGui/KActionCollection> | ||||
26 | 27 | | |||
27 | #include <KWayland/Client/plasmashell.h> | 28 | #include <KWayland/Client/plasmashell.h> | ||
28 | 29 | | |||
29 | #include <PlasmaQuick/Dialog> | 30 | #include <PlasmaQuick/Dialog> | ||
30 | 31 | | |||
31 | namespace KDeclarative { | 32 | namespace KDeclarative { | ||
32 | class QmlObject; | 33 | class QmlObject; | ||
33 | } | 34 | } | ||
▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 85 | protected Q_SLOTS: | |||
88 | void reloadConfig(); | 89 | void reloadConfig(); | ||
89 | void objectIncubated(); | 90 | void objectIncubated(); | ||
90 | void slotFocusWindowChanged(); | 91 | void slotFocusWindowChanged(); | ||
91 | 92 | | |||
92 | private: | 93 | private: | ||
93 | void writeHistory(); | 94 | void writeHistory(); | ||
94 | QPoint m_customPos; | 95 | QPoint m_customPos; | ||
95 | KDeclarative::QmlObject *m_qmlObj; | 96 | KDeclarative::QmlObject *m_qmlObj; | ||
96 | KConfigGroup m_config; | 97 | KConfig m_config; | ||
98 | KActionCollection *m_shortcuts; | ||||
97 | qreal m_offset; | 99 | qreal m_offset; | ||
98 | bool m_floating : 1; | 100 | bool m_floating : 1; | ||
99 | QStringList m_history; | 101 | QStringList m_history; | ||
100 | }; | 102 | }; | ||
101 | 103 | | |||
102 | 104 | | |||
103 | #endif // View_H | 105 | #endif // View_H |