~dandrader/unity-api/lifecycle

« back to all changes in this revision

Viewing changes to test/qmltest/mocks/plugins/Unity/Application/Mocks/MockApplicationInfo.h

  • Committer: Daniel d'Andrada
  • Date: 2014-08-13 18:05:37 UTC
  • Revision ID: daniel.dandrada@canonical.com-20140813180537-v6fcb9m978h5fzge
No mentions of screenshot anywhere

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    QString name() const;
37
37
    QString comment() const;
38
38
    QUrl icon() const;
39
 
    QUrl screenshot() const;
40
39
 
41
40
    ApplicationInfoInterface::Stage stage() const;
42
41
    void setStage(ApplicationInfoInterface::Stage stage);
47
46
    bool focused() const;
48
47
    void setFocused(bool focused);
49
48
 
50
 
 
51
 
    Q_INVOKABLE void updateScreenshot() override;
52
 
    Q_INVOKABLE void discardScreenshot() override;
53
 
 
54
49
private:
55
50
    QString m_appId;
56
51
    QString m_name;
57
52
    QString m_comment;
58
53
    QUrl m_icon;
59
 
    QUrl m_screenshot;
60
54
    ApplicationInfoInterface::Stage m_stage;
61
55
    ApplicationInfoInterface::State m_state;
62
56
    bool m_focused;