Changeset View
Changeset View
Standalone View
Standalone View
src/card.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Line(s) | |||||
70 | 70 | | |||
71 | signals: | 71 | signals: | ||
72 | void propertiesChanged(); | 72 | void propertiesChanged(); | ||
73 | 73 | | |||
74 | private: | 74 | private: | ||
75 | QVariantMap m_properties; | 75 | QVariantMap m_properties; | ||
76 | }; | 76 | }; | ||
77 | 77 | | |||
78 | class Q_DECL_EXPORT Card : public PulseObject | 78 | class Card : public PulseObject | ||
79 | { | 79 | { | ||
80 | Q_OBJECT | 80 | Q_OBJECT | ||
81 | Q_PROPERTY(QString name READ name NOTIFY nameChanged) | 81 | Q_PROPERTY(QString name READ name NOTIFY nameChanged) | ||
82 | Q_PROPERTY(QList<QObject *> profiles READ profiles NOTIFY profilesChanged) | 82 | Q_PROPERTY(QList<QObject *> profiles READ profiles NOTIFY profilesChanged) | ||
83 | Q_PROPERTY(quint32 activeProfileIndex READ activeProfileIndex WRITE setActiveProfileIndex NOTIFY activeProfileIndexChanged) | 83 | Q_PROPERTY(quint32 activeProfileIndex READ activeProfileIndex WRITE setActiveProfileIndex NOTIFY activeProfileIndexChanged) | ||
84 | Q_PROPERTY(QList<QObject *> ports READ ports NOTIFY portsChanged) | 84 | Q_PROPERTY(QList<QObject *> ports READ ports NOTIFY portsChanged) | ||
85 | public: | 85 | public: | ||
86 | Card(QObject *parent); | 86 | Card(QObject *parent); | ||
Show All 25 Lines |