Changeset View
Changeset View
Standalone View
Standalone View
src/pulseobject.h
Show All 25 Lines | |||||
26 | 26 | | |||
27 | #include <pulse/introspect.h> | 27 | #include <pulse/introspect.h> | ||
28 | 28 | | |||
29 | namespace QPulseAudio | 29 | namespace QPulseAudio | ||
30 | { | 30 | { | ||
31 | 31 | | |||
32 | class Context; | 32 | class Context; | ||
33 | 33 | | |||
34 | class Q_DECL_EXPORT PulseObject : public QObject | 34 | class PulseObject : public QObject | ||
35 | { | 35 | { | ||
36 | Q_OBJECT | 36 | Q_OBJECT | ||
37 | Q_PROPERTY(quint32 index READ index CONSTANT) | 37 | Q_PROPERTY(quint32 index READ index CONSTANT) | ||
38 | Q_PROPERTY(QString iconName READ iconName CONSTANT) | 38 | Q_PROPERTY(QString iconName READ iconName CONSTANT) | ||
39 | Q_PROPERTY(QVariantMap properties READ properties NOTIFY propertiesChanged) | 39 | Q_PROPERTY(QVariantMap properties READ properties NOTIFY propertiesChanged) | ||
40 | public: | 40 | public: | ||
41 | template <typename PAInfo> | 41 | template <typename PAInfo> | ||
42 | void updatePulseObject(PAInfo *info) | 42 | void updatePulseObject(PAInfo *info) | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |