17 #ifndef LAUNCHERITEM_H
18 #define LAUNCHERITEM_H
20 #include "quicklistmodel.h"
22 #include <unity/shell/launcher/LauncherItemInterface.h>
28 class LauncherItem:
public LauncherItemInterface
32 LauncherItem(
const QString &appId,
const QString &name,
const QString &icon, QObject *parent = 0);
34 QString appId()
const override;
35 QString name()
const override;
36 QString icon()
const override;
37 bool pinned()
const override;
38 bool running()
const override;
39 bool recent()
const override;
40 int progress()
const override;
41 int count()
const override;
42 bool countVisible()
const override;
43 bool focused()
const override;
45 unity::shell::launcher::QuickListModelInterface *quickList()
const override;
48 void setName(
const QString &name);
49 void setIcon(
const QString &icon);
50 void setPinned(
bool pinned);
51 void setRunning(
bool running);
52 void setRecent(
bool recent);
53 void setProgress(
int progress);
54 void setCount(
int count);
55 void setCountVisible(
bool countVisible);
56 void setFocused(
bool focused);
69 QuickListModel *m_quickList;
71 friend class LauncherModel;
74 #endif // LAUNCHERITEM_H