~ci-train-bot/qmenumodel/qmenumodel-ubuntu-zesty-2548

« back to all changes in this revision

Viewing changes to libqmenumodel/src/unitymenumodel.h

  • Committer: Bileto Bot
  • Date: 2017-03-17 12:06:04 UTC
  • mfrom: (128.1.4 aboutToShow)
  • Revision ID: ci-train-bot@canonical.com-20170317120604-18tnu64p9ne23egt
Add UnityMenuModel::aboutToShow ((LP: 1664578)

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    Q_INVOKABLE QVariant get(int row, const QByteArray &role);
64
64
 
65
65
    Q_INVOKABLE void activate(int index, const QVariant& parameter = QVariant());
 
66
    Q_INVOKABLE void aboutToShow(int index);
66
67
    Q_INVOKABLE void activateByVariantString(int index, const QString& parameter = QString());
67
68
    Q_INVOKABLE void changeState(int index, const QVariant& parameter);
68
69
    Q_INVOKABLE void changeStateByVariantString(int index, const QString& parameter);
90
91
    class UnityMenuModelPrivate *priv;
91
92
    friend class UnityMenuModelPrivate;
92
93
 
93
 
    UnityMenuModel(const UnityMenuModelPrivate& other, QObject *parent);
 
94
    UnityMenuModel(const UnityMenuModelPrivate& other, UnityMenuModel *parent);
94
95
};
95
96
 
96
97
#endif