Changeset View
Changeset View
Standalone View
Standalone View
kded/osdmanager.h
Show All 39 Lines | |||||
40 | public: | 40 | public: | ||
41 | OsdManager(QObject *parent = nullptr); | 41 | OsdManager(QObject *parent = nullptr); | ||
42 | ~OsdManager() override; | 42 | ~OsdManager() override; | ||
43 | 43 | | |||
44 | public Q_SLOTS: | 44 | public Q_SLOTS: | ||
45 | void showOutputIdentifiers(); | 45 | void showOutputIdentifiers(); | ||
46 | void showOsd(const QString &icon, const QString &text); | 46 | void showOsd(const QString &icon, const QString &text); | ||
47 | void hideOsd(); | 47 | void hideOsd(); | ||
48 | OsdAction *showActionSelector(); | 48 | OsdAction *showActionSelector(bool lidIsOpen); | ||
49 | 49 | | |||
50 | private: | 50 | private: | ||
51 | void slotIdentifyOutputs(KScreen::ConfigOperation *op); | 51 | void slotIdentifyOutputs(KScreen::ConfigOperation *op); | ||
52 | QMap<QString, KScreen::Osd*> m_osds; | 52 | QMap<QString, KScreen::Osd*> m_osds; | ||
53 | QTimer* m_cleanupTimer; | 53 | QTimer* m_cleanupTimer; | ||
54 | }; | 54 | }; | ||
55 | 55 | | |||
56 | } // ns | 56 | } // ns | ||
57 | #endif // OSDM_H | 57 | #endif // OSDM_H |