Changeset View
Changeset View
Standalone View
Standalone View
src/device.h
Show All 26 Lines | |||||
27 | 27 | | |||
28 | #include "volumeobject.h" | 28 | #include "volumeobject.h" | ||
29 | #include "port.h" | 29 | #include "port.h" | ||
30 | #include "pulseobject.h" | 30 | #include "pulseobject.h" | ||
31 | 31 | | |||
32 | namespace QPulseAudio | 32 | namespace QPulseAudio | ||
33 | { | 33 | { | ||
34 | 34 | | |||
35 | class Q_DECL_EXPORT Device : public VolumeObject | 35 | class Device : public VolumeObject | ||
36 | { | 36 | { | ||
37 | Q_OBJECT | 37 | Q_OBJECT | ||
38 | Q_PROPERTY(State state READ state NOTIFY stateChanged) | 38 | Q_PROPERTY(State state READ state NOTIFY stateChanged) | ||
39 | Q_PROPERTY(QString name READ name NOTIFY nameChanged) | 39 | Q_PROPERTY(QString name READ name NOTIFY nameChanged) | ||
40 | Q_PROPERTY(QString description READ description NOTIFY descriptionChanged) | 40 | Q_PROPERTY(QString description READ description NOTIFY descriptionChanged) | ||
41 | Q_PROPERTY(quint32 cardIndex READ cardIndex NOTIFY cardIndexChanged) | 41 | Q_PROPERTY(quint32 cardIndex READ cardIndex NOTIFY cardIndexChanged) | ||
42 | Q_PROPERTY(QList<QObject *> ports READ ports NOTIFY portsChanged) | 42 | Q_PROPERTY(QList<QObject *> ports READ ports NOTIFY portsChanged) | ||
43 | Q_PROPERTY(quint32 activePortIndex READ activePortIndex WRITE setActivePortIndex NOTIFY activePortIndexChanged) | 43 | Q_PROPERTY(quint32 activePortIndex READ activePortIndex WRITE setActivePortIndex NOTIFY activePortIndexChanged) | ||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |