20#include "quicklistmodel.h"
22#include <lomiri/shell/launcher/LauncherItemInterface.h>
26using namespace lomiri::shell::launcher;
28class 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 QStringList keywords()
const override;
38 uint popularity()
const override;
39 bool pinned()
const override;
40 bool running()
const override;
41 bool recent()
const override;
42 int progress()
const override;
43 int count()
const override;
44 bool countVisible()
const override;
45 bool focused()
const override;
46 bool alerting()
const override;
47 int surfaceCount()
const override;
49 lomiri::shell::launcher::QuickListModelInterface *quickList()
const override;
52 void setName(
const QString &name);
53 void setIcon(
const QString &icon);
54 void setKeywords(
const QStringList &keywords);
55 void setPinned(
bool pinned);
56 void setRunning(
bool running);
57 void setRecent(
bool recent);
58 void setProgress(
int progress);
59 void setCount(
int count);
60 void setCountVisible(
bool countVisible);
61 void setFocused(
bool focused);
62 void setAlerting(
bool alerting);
63 void setSurfaceCount(
int surfaceCount);
69 QStringList m_keywords;
79 QuickListModel *m_quickList;
81 friend class LauncherModel;