~aacid/unity-api/use_qenum

« back to all changes in this revision

Viewing changes to test/qmltest/mocks/plugins/Unity/Launcher/Mocks/MockLauncherItem.h

  • Committer: Albert Astals Cid
  • Date: 2016-12-14 15:57:28 UTC
  • Revision ID: albert.astals@canonical.com-20161214155728-h1fmoxboreq3x621
Enable -Wsuggest-override

And add the override it suggests

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
public:
33
33
    MockLauncherItem(const QString &appId, const QString& desktopFile, const QString& name, const QString& icon, QObject* parent = 0);
34
34
 
35
 
    QString appId() const;
 
35
    QString appId() const override;
36
36
    QString desktopFile() const;
37
 
    QString name() const;
38
 
    QString icon() const;
 
37
    QString name() const override;
 
38
    QString icon() const override;
39
39
 
40
 
    QStringList keywords() const;
 
40
    QStringList keywords() const override;
41
41
    void setKeywords(const QStringList &keywords);
42
42
 
43
 
    bool pinned() const;
 
43
    bool pinned() const override;
44
44
    void setPinned(bool pinned);
45
45
 
46
 
    bool running() const;
 
46
    bool running() const override;
47
47
    void setRunning(bool running);
48
48
 
49
 
    bool recent() const;
 
49
    bool recent() const override;
50
50
    void setRecent(bool recent);
51
51
 
52
 
    int progress() const;
 
52
    int progress() const override;
53
53
    void setProgress(int progress);
54
54
 
55
 
    int count() const;
 
55
    int count() const override;
56
56
    void setCount(int count);
57
57
 
58
 
    bool countVisible() const;
 
58
    bool countVisible() const override;
59
59
    void setCountVisible(bool countVisible);
60
60
 
61
 
    bool focused() const;
 
61
    bool focused() const override;
62
62
    void setFocused(bool focused);
63
63
 
64
 
    bool alerting() const;
 
64
    bool alerting() const override;
65
65
 
66
66
    int surfaceCount() const override;
67
67
 
68
 
    unity::shell::launcher::QuickListModelInterface *quickList() const;
 
68
    unity::shell::launcher::QuickListModelInterface *quickList() const override;
69
69
 
70
70
private:
71
71
    QString m_appId;