diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2017-03-06 15:55:12 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals@canonical.com> | 2017-03-06 15:55:12 +0100 |
commit | 7579572643413c5d399ec2bee6339ab20232c8cf (patch) | |
tree | bdf781de2e09b52acb8a43174385141c4cbc0751 /libqmenumodel/src/unitymenumodel.h | |
parent | 2eaa36e38c910a0ee2450ac7ccae6473d359eb58 (diff) | |
download | qmenumodel-7579572643413c5d399ec2bee6339ab20232c8cf.tar.gz qmenumodel-7579572643413c5d399ec2bee6339ab20232c8cf.tar.bz2 qmenumodel-7579572643413c5d399ec2bee6339ab20232c8cf.zip |
Call about to show for those items that have a qtubuntu-tag property
Diffstat (limited to 'libqmenumodel/src/unitymenumodel.h')
-rw-r--r-- | libqmenumodel/src/unitymenumodel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libqmenumodel/src/unitymenumodel.h b/libqmenumodel/src/unitymenumodel.h index ed3bcd7..1a2a190 100644 --- a/libqmenumodel/src/unitymenumodel.h +++ b/libqmenumodel/src/unitymenumodel.h @@ -63,6 +63,7 @@ public: Q_INVOKABLE QVariant get(int row, const QByteArray &role); Q_INVOKABLE void activate(int index, const QVariant& parameter = QVariant()); + Q_INVOKABLE void aboutToShow(int index); Q_INVOKABLE void activateByVariantString(int index, const QString& parameter = QString()); Q_INVOKABLE void changeState(int index, const QVariant& parameter); Q_INVOKABLE void changeStateByVariantString(int index, const QString& parameter); @@ -90,7 +91,7 @@ private: class UnityMenuModelPrivate *priv; friend class UnityMenuModelPrivate; - UnityMenuModel(const UnityMenuModelPrivate& other, QObject *parent); + UnityMenuModel(const UnityMenuModelPrivate& other, UnityMenuModel *parent); }; #endif |