@@ -32,35 +32,30 @@ class MockLauncherItem: public LauncherItemInterface
33 MockLauncherItem(const QString &appId, const QString& desktopFile, const QString& name, const QString& icon, QObject* parent = 0);
33 MockLauncherItem(const QString &appId, const QString& desktopFile, const QString& name, const QString& icon, QObject* parent = 0);
35− QString appId() const;
35+ QString appId() const override;
36 QString desktopFile() const;
36 QString desktopFile() const;
37− QString name() const;
37+ QString name() const override;
38− QString icon() const;
38+ QString icon() const override;
40+ bool pinned() const override;
41+ bool running() const override;
42+ bool recent() const override;
43+ int progress() const override;
44+ int count() const override;
45+ bool countVisible() const override;
46+ bool focused() const;
40− bool pinned() const;
48+ unity::shell::launcher::QuickListModelInterface *quickList() const;
41− void setPinned(bool pinned);
43− bool running() const;
50+private:
51+ void setPinned(bool pinned);
44 void setRunning(bool running);
52 void setRunning(bool running);
47 void setRecent(bool recent);
53 void setRecent(bool recent);
49− int progress() const;
50 void setProgress(int progress);
54 void setProgress(int progress);
53 void setCount(int count);
55 void setCount(int count);
55− bool countVisible() const;
56 void setCountVisible(bool countVisible);
56 void setCountVisible(bool countVisible);
58− bool focused() const;
59 void setFocused(bool focused);
57 void setFocused(bool focused);
61− unity::shell::launcher::QuickListModelInterface *quickList() const;
64 QString m_appId;
59 QString m_appId;
65 QString m_desktopFile;
60 QString m_desktopFile;
66 QString m_name;
61 QString m_name;
@@ -73,6 +68,8 @@ private:
73 bool m_countVisible;
68 bool m_countVisible;
74 bool m_focused;
69 bool m_focused;
75 MockQuickListModel *m_quickList;
70 MockQuickListModel *m_quickList;
72+ friend class MockLauncherModel;
78#endif // MOCKLAUNCHERITEM_H
75#endif // MOCKLAUNCHERITEM_H