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 | class Dialog; | ||||
26 | } | ||||
romangg: style | |||||
25 | 27 | | |||
26 | class OutputIdentifier : public QObject | 28 | class OutputIdentifier : public QObject | ||
27 | { | 29 | { | ||
28 | Q_OBJECT | 30 | Q_OBJECT | ||
29 | 31 | | |||
30 | public: | 32 | public: | ||
31 | explicit OutputIdentifier (KScreen::ConfigPtr config, QObject *parent = nullptr); | 33 | explicit OutputIdentifier (KScreen::ConfigPtr config, QObject *parent = nullptr); | ||
32 | ~OutputIdentifier() override; | 34 | ~OutputIdentifier() override; | ||
33 | 35 | | |||
34 | Q_SIGNALS: | 36 | Q_SIGNALS: | ||
35 | void identifiersFinished(); | 37 | void identifiersFinished(); | ||
36 | 38 | | |||
37 | protected: | 39 | protected: | ||
38 | bool eventFilter(QObject *object, QEvent *event) override; | 40 | bool eventFilter(QObject *object, QEvent *event) override; | ||
39 | 41 | | |||
40 | private: | 42 | private: | ||
41 | QVector<QQuickView*> m_views; | 43 | QVector<PlasmaQuick::Dialog*> m_views; | ||
42 | QTimer m_timer; | 44 | QTimer m_timer; | ||
43 | }; | 45 | }; |
style