aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/unitymenumodel.h
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-07-25 06:09:59 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-07-25 06:09:59 +0200
commitca81974f1fe8454c725e80aa943705d40398a2ad (patch)
treef6549c3fdddef6ef2ae7bfd4aecc4106be389d4d /libqmenumodel/src/unitymenumodel.h
parent6aaafd55328c1860fd1b734fa29ff77673538a2b (diff)
downloadqmenumodel-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.h1
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);