Changeset View
Changeset View
Standalone View
Standalone View
src/qml/volumeosd.h
Show All 23 Lines | |||||
24 | #include <QObject> | 24 | #include <QObject> | ||
25 | 25 | | |||
26 | class VolumeOSD : public QObject | 26 | class VolumeOSD : public QObject | ||
27 | { | 27 | { | ||
28 | Q_OBJECT | 28 | Q_OBJECT | ||
29 | public: | 29 | public: | ||
30 | explicit VolumeOSD(QObject *parent = nullptr); | 30 | explicit VolumeOSD(QObject *parent = nullptr); | ||
31 | 31 | | |||
32 | public slots: | 32 | public Q_SLOTS: | ||
33 | void show(int percent); | 33 | void show(int percent); | ||
34 | void showMicrophone(int percent); | 34 | void showMicrophone(int percent); | ||
35 | void showText(const QString &iconName, const QString &text); | 35 | void showText(const QString &iconName, const QString &text); | ||
36 | }; | 36 | }; | ||
37 | 37 | | |||
38 | #endif // VOLUMEOSD_H | 38 | #endif // VOLUMEOSD_H |