Changeset View
Changeset View
Standalone View
Standalone View
kded/osd.h
Context not available. | |||||
26 | 26 | | |||
---|---|---|---|---|---|
27 | #include <KScreen/Output> | 27 | #include <KScreen/Output> | ||
28 | 28 | | |||
29 | #include "osdmanager.h" | ||||
30 | | ||||
29 | namespace KDeclarative { | 31 | namespace KDeclarative { | ||
30 | class QmlObject; | 32 | class QmlObject; | ||
31 | } | 33 | } | ||
Context not available. | |||||
44 | 46 | | |||
45 | void showGenericOsd(const QString &icon, const QString &text); | 47 | void showGenericOsd(const QString &icon, const QString &text); | ||
46 | void showOutputIdentifier(const KScreen::OutputPtr output); | 48 | void showOutputIdentifier(const KScreen::OutputPtr output); | ||
49 | void showActionSelector(); | ||||
50 | void hideOsd(); | ||||
51 | | ||||
52 | Q_SIGNALS: | ||||
53 | void osdActionSelected(OsdAction::Action action); | ||||
54 | | ||||
55 | private Q_SLOTS: | ||||
56 | void onOsdActionSelected(int action); | ||||
57 | void onOutputAvailabilityChanged(); | ||||
47 | 58 | | |||
48 | private: | 59 | private: | ||
49 | void hideOsd(); | 60 | bool initOsd(); | ||
50 | void showOsd(); | 61 | void showOsd(); | ||
51 | void updatePosition(); | 62 | void updatePosition(); | ||
52 | 63 | | |||
Context not available. |