20 #ifndef LAUNCHERITEM_H
21 #define LAUNCHERITEM_H
23 #include "quicklistmodel.h"
25 #include <unity/shell/launcher/LauncherItemInterface.h>
31 class LauncherItem:
public LauncherItemInterface
35 LauncherItem(
const QString &appId,
const QString &name,
const QString &icon, QObject *parent = 0);
37 QString appId()
const override;
38 QString name()
const override;
39 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 override;
48 unity::shell::launcher::QuickListModelInterface *quickList()
const override;
51 void setName(
const QString &name);
52 void setIcon(
const QString &icon);
53 void setPinned(
bool pinned);
54 void setRunning(
bool running);
55 void setRecent(
bool recent);
56 void setProgress(
int progress);
57 void setCount(
int count);
58 void setCountVisible(
bool countVisible);
59 void setFocused(
bool focused);
72 QuickListModel *m_quickList;
74 friend class LauncherModel;
77 #endif // LAUNCHERITEM_H