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;
44 bool alerting()
const override;
46 unity::shell::launcher::QuickListModelInterface *quickList()
const override;
49 void setName(
const QString &name);
50 void setIcon(
const QString &icon);
51 void setPinned(
bool pinned);
52 void setRunning(
bool running);
53 void setRecent(
bool recent);
54 void setProgress(
int progress);
55 void setCount(
int count);
56 void setCountVisible(
bool countVisible);
57 void setFocused(
bool focused);
58 void setAlerting(
bool alerting);
73 QuickListModel *m_quickList;
75 friend class LauncherModel;
78 #endif // LAUNCHERITEM_H