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