diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2014-07-17 02:04:02 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-07-17 02:04:02 +0000 |
commit | f7719ce3a367360a2e01a856f6db9348d6bfed5b (patch) | |
tree | 6e9d4cf3455c0f658a3676e68f287527b8ecca8a /libqmenumodel/src/unitymenumodel.h | |
parent | 018eaeb8b2dc83867dccee516c54499594788ed8 (diff) | |
parent | 166406a8433438623f5b2ed42830e4abd417adc8 (diff) | |
download | qmenumodel-f7719ce3a367360a2e01a856f6db9348d6bfed5b.tar.gz qmenumodel-f7719ce3a367360a2e01a856f6db9348d6bfed5b.tar.bz2 qmenumodel-f7719ce3a367360a2e01a856f6db9348d6bfed5b.zip |
unitymenumodel: add nameOwner property Fixes: 1308011
Approved by: Mirco Müller, PS Jenkins bot
Diffstat (limited to 'libqmenumodel/src/unitymenumodel.h')
-rw-r--r-- | libqmenumodel/src/unitymenumodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libqmenumodel/src/unitymenumodel.h b/libqmenumodel/src/unitymenumodel.h index 30bc62d..8816d22 100644 --- a/libqmenumodel/src/unitymenumodel.h +++ b/libqmenumodel/src/unitymenumodel.h @@ -28,6 +28,7 @@ class UnityMenuModel: public QAbstractListModel { Q_OBJECT Q_PROPERTY(QByteArray busName READ busName WRITE setBusName NOTIFY busNameChanged) + Q_PROPERTY(QByteArray nameOwner READ nameOwner NOTIFY nameOwnerChanged) Q_PROPERTY(QVariantMap actions READ actions WRITE setActions NOTIFY actionsChanged) Q_PROPERTY(QByteArray menuObjectPath READ menuObjectPath WRITE setMenuObjectPath NOTIFY menuObjectPathChanged) Q_PROPERTY(ActionStateParser* actionStateParser READ actionStateParser WRITE setActionStateParser NOTIFY actionStateParserChanged) @@ -39,6 +40,8 @@ public: QByteArray busName() const; void setBusName(const QByteArray &name); + QByteArray nameOwner() const; + QVariantMap actions() const; void setActions(const QVariantMap &actions); @@ -67,6 +70,7 @@ public: Q_SIGNALS: void busNameChanged(const QByteArray &name); + void nameOwnerChanged(const QByteArray &owner); void actionsChanged(const QByteArray &path); void menuObjectPathChanged(const QByteArray &path); void actionStateParserChanged(ActionStateParser* parser); |