20 #ifndef UNITY_SHELL_LAUNCHER_LAUNCHERITEM_H
21 #define UNITY_SHELL_LAUNCHER_LAUNCHERITEM_H
23 #include <unity/SymbolExport.h>
25 #include <QtCore/QObject>
34 class QuickListModelInterface;
50 Q_PROPERTY(QString appId READ appId CONSTANT)
55 Q_PROPERTY(QString name READ name CONSTANT)
60 Q_PROPERTY(QString icon READ icon CONSTANT)
65 Q_PROPERTY(
bool pinned READ pinned NOTIFY pinnedChanged)
70 Q_PROPERTY(
bool running READ running NOTIFY runningChanged)
75 Q_PROPERTY(
bool recent READ recent NOTIFY recentChanged)
83 Q_PROPERTY(
int progress READ progress NOTIFY progressChanged)
91 Q_PROPERTY(
int count READ count NOTIFY countChanged)
98 Q_PROPERTY(
bool countVisible READ countVisible NOTIFY countVisibleChanged)
105 Q_PROPERTY(
bool focused READ focused NOTIFY focusedChanged)
112 Q_PROPERTY(
bool alerting READ alerting NOTIFY alertingChanged)
130 virtual QString appId()
const = 0;
131 virtual QString name()
const = 0;
132 virtual QString icon()
const = 0;
133 virtual bool pinned()
const = 0;
134 virtual bool running()
const = 0;
135 virtual bool recent()
const = 0;
136 virtual int progress()
const = 0;
137 virtual int count()
const = 0;
138 virtual bool countVisible()
const = 0;
139 virtual bool focused()
const = 0;
140 virtual bool alerting()
const = 0;
144 void nameChanged(
const QString &name);
145 void iconChanged(
const QString &icon);
146 void pinnedChanged(
bool pinned);
147 void runningChanged(
bool running);
148 void recentChanged(
bool running);
149 void progressChanged(
int progress);
150 void countChanged(
int count);
151 void countVisibleChanged(
bool countVisible);
152 void focusedChanged(
bool focused);
153 void alertingChanged(
bool alerting);
161 #endif // UNITY_SHELL_LAUNCHER_LAUNCHERITEMINTERFACE_H
Top-level namespace for all things Unity-related.
Definition: Version.h:37
An item presented in the launcher.
Definition: LauncherItemInterface.h:43
A model containing QuickList actions for an application in the launcher.
Definition: QuickListModelInterface.h:42