Changeset View
Changeset View
Standalone View
Standalone View
kded/osd.h
Show All 39 Lines | 39 | class Osd : public QObject { | |||
---|---|---|---|---|---|
40 | 40 | | |||
41 | Q_OBJECT | 41 | Q_OBJECT | ||
42 | 42 | | |||
43 | public: | 43 | public: | ||
44 | Osd(const OutputPtr &output, QObject *parent = nullptr); | 44 | Osd(const OutputPtr &output, QObject *parent = nullptr); | ||
45 | ~Osd() override; | 45 | ~Osd() override; | ||
46 | 46 | | |||
47 | void showGenericOsd(const QString &icon, const QString &text); | 47 | void showGenericOsd(const QString &icon, const QString &text); | ||
48 | void showOutputIdentifier(const KScreen::OutputPtr output); | 48 | void showOutputIdentifier(const KScreen::OutputPtr &output); | ||
49 | void showActionSelector(); | 49 | void showActionSelector(); | ||
50 | void hideOsd(); | 50 | void hideOsd(); | ||
51 | 51 | | |||
52 | Q_SIGNALS: | 52 | Q_SIGNALS: | ||
53 | void osdActionSelected(OsdAction::Action action); | 53 | void osdActionSelected(OsdAction::Action action); | ||
54 | 54 | | |||
55 | private Q_SLOTS: | 55 | private Q_SLOTS: | ||
56 | void onOsdActionSelected(int action); | 56 | void onOsdActionSelected(int action); | ||
Show All 18 Lines |