Changeset View
Changeset View
Standalone View
Standalone View
src/streamrestore.h
Show All 22 Lines | |||||
23 | 23 | | |||
24 | #include "pulseobject.h" | 24 | #include "pulseobject.h" | ||
25 | 25 | | |||
26 | #include <pulse/ext-stream-restore.h> | 26 | #include <pulse/ext-stream-restore.h> | ||
27 | 27 | | |||
28 | namespace QPulseAudio | 28 | namespace QPulseAudio | ||
29 | { | 29 | { | ||
30 | 30 | | |||
31 | class Q_DECL_EXPORT StreamRestore : public PulseObject | 31 | class StreamRestore : public PulseObject | ||
32 | { | 32 | { | ||
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | Q_PROPERTY(QString name READ name NOTIFY nameChanged) | 34 | Q_PROPERTY(QString name READ name NOTIFY nameChanged) | ||
35 | Q_PROPERTY(QString device READ device WRITE setDevice NOTIFY deviceChanged) | 35 | Q_PROPERTY(QString device READ device WRITE setDevice NOTIFY deviceChanged) | ||
36 | Q_PROPERTY(qint64 volume READ volume WRITE setVolume NOTIFY volumeChanged) | 36 | Q_PROPERTY(qint64 volume READ volume WRITE setVolume NOTIFY volumeChanged) | ||
37 | Q_PROPERTY(bool muted READ isMuted WRITE setMuted NOTIFY mutedChanged) | 37 | Q_PROPERTY(bool muted READ isMuted WRITE setMuted NOTIFY mutedChanged) | ||
38 | Q_PROPERTY(bool hasVolume READ hasVolume CONSTANT) | 38 | Q_PROPERTY(bool hasVolume READ hasVolume CONSTANT) | ||
39 | Q_PROPERTY(bool volumeWritable READ isVolumeWritable CONSTANT) | 39 | Q_PROPERTY(bool volumeWritable READ isVolumeWritable CONSTANT) | ||
▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines |