diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-07-25 06:09:59 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-07-25 06:09:59 +0200 |
commit | ca81974f1fe8454c725e80aa943705d40398a2ad (patch) | |
tree | f6549c3fdddef6ef2ae7bfd4aecc4106be389d4d /libqmenumodel/src/unitymenumodel.h | |
parent | 6aaafd55328c1860fd1b734fa29ff77673538a2b (diff) | |
download | qmenumodel-ca81974f1fe8454c725e80aa943705d40398a2ad.tar.gz qmenumodel-ca81974f1fe8454c725e80aa943705d40398a2ad.tar.bz2 qmenumodel-ca81974f1fe8454c725e80aa943705d40398a2ad.zip |
unitymenumodel: expose type and extended attributes to qml
Diffstat (limited to 'libqmenumodel/src/unitymenumodel.h')
-rw-r--r-- | libqmenumodel/src/unitymenumodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libqmenumodel/src/unitymenumodel.h b/libqmenumodel/src/unitymenumodel.h index 896c806..9151217 100644 --- a/libqmenumodel/src/unitymenumodel.h +++ b/libqmenumodel/src/unitymenumodel.h @@ -49,6 +49,7 @@ public: QHash<int, QByteArray> roleNames() const; Q_INVOKABLE QObject * submenu(int position); + Q_INVOKABLE bool loadExtendedAttributes(int position, const QVariantMap &schema); Q_SIGNALS: void busNameChanged(const QByteArray &name); |