Changeset View
Changeset View
Standalone View
Standalone View
kcm/output_identifier.h
Show All 15 Lines | |||||
16 | *********************************************************************/ | 16 | *********************************************************************/ | ||
17 | #pragma once | 17 | #pragma once | ||
18 | 18 | | |||
19 | #include <kscreen/config.h> | 19 | #include <kscreen/config.h> | ||
20 | 20 | | |||
21 | #include <QTimer> | 21 | #include <QTimer> | ||
22 | #include <QVector> | 22 | #include <QVector> | ||
23 | 23 | | |||
24 | class QQuickView; | 24 | namespace PlasmaQuick | ||
25 | { | ||||
26 | class Dialog; | ||||
27 | } | ||||
romangg: style | |||||
25 | 28 | | |||
26 | class OutputIdentifier : public QObject | 29 | class OutputIdentifier : public QObject | ||
27 | { | 30 | { | ||
28 | Q_OBJECT | 31 | Q_OBJECT | ||
29 | 32 | | |||
30 | public: | 33 | public: | ||
31 | explicit OutputIdentifier (KScreen::ConfigPtr config, QObject *parent = nullptr); | 34 | explicit OutputIdentifier (KScreen::ConfigPtr config, QObject *parent = nullptr); | ||
32 | ~OutputIdentifier() override; | 35 | ~OutputIdentifier() override; | ||
33 | 36 | | |||
34 | Q_SIGNALS: | 37 | Q_SIGNALS: | ||
35 | void identifiersFinished(); | 38 | void identifiersFinished(); | ||
36 | 39 | | |||
37 | protected: | 40 | protected: | ||
38 | bool eventFilter(QObject *object, QEvent *event) override; | 41 | bool eventFilter(QObject *object, QEvent *event) override; | ||
39 | 42 | | |||
40 | private: | 43 | private: | ||
41 | QVector<QQuickView*> m_views; | 44 | QVector<PlasmaQuick::Dialog*> m_views; | ||
42 | QTimer m_timer; | 45 | QTimer m_timer; | ||
43 | }; | 46 | }; |
style