~dandrader/unity8/multiInstanceAppNEW

« back to all changes in this revision

Viewing changes to tests/mocks/QMenuModel/unitymenumodel.h

  • Committer: Bileto Bot
  • Author(s): Albert Astals Cid
  • Date: 2017-03-21 10:55:16 UTC
  • mfrom: (2836.3.15 aboutToShow)
  • Revision ID: ci-train-bot@canonical.com-20170321105516-1ov2g131d8g9h6tc
Signal aboutToShow (LP: #1664578)

Approved by: Lukáš Tinkl, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    Q_INVOKABLE QVariant get(int row, const QByteArray &role);
74
74
 
75
75
    Q_INVOKABLE void activate(int index, const QVariant& parameter = QVariant());
 
76
    Q_INVOKABLE void aboutToShow(int index);
76
77
    Q_INVOKABLE void changeState(int index, const QVariant& parameter);
77
78
 
78
79
    void registerAction(UnityMenuAction* action);
87
88
 
88
89
    // Internal mock usage
89
90
    void modelDataChanged();
 
91
    void aboutToShowCalled(int index);
90
92
 
91
93
    void activated(const QString& action);
92
94