20 #ifndef UNITY_SHELL_APPLICATION_APPLICATIONINFOINTERFACE_H
21 #define UNITY_SHELL_APPLICATION_APPLICATIONINFOINTERFACE_H
23 #include <unity/SymbolExport.h>
25 #include <QtCore/QObject>
26 #include <QtCore/QUrl>
56 Q_PROPERTY(QString appId READ appId CONSTANT)
63 Q_PROPERTY(QString name READ name NOTIFY nameChanged)
71 Q_PROPERTY(QString comment READ comment NOTIFY commentChanged)
78 Q_PROPERTY(QUrl icon READ icon NOTIFY iconChanged)
85 Q_PROPERTY(
Stage stage READ stage NOTIFY stageChanged)
92 Q_PROPERTY(
State state READ state NOTIFY stateChanged)
99 Q_PROPERTY(
bool focused READ focused NOTIFY focusedChanged)
110 Q_PROPERTY(QString splashTitle READ splashTitle CONSTANT)
122 Q_PROPERTY(QUrl splashImage READ splashImage CONSTANT)
140 Q_PROPERTY(
bool splashShowHeader READ splashShowHeader CONSTANT)
151 Q_PROPERTY(QColor splashColor READ splashColor CONSTANT)
164 Q_PROPERTY(QColor splashColorHeader READ splashColorHeader CONSTANT)
177 Q_PROPERTY(QColor splashColorFooter READ splashColorFooter CONSTANT)
220 virtual QString appId()
const = 0;
221 virtual QString name()
const = 0;
222 virtual QString comment()
const = 0;
223 virtual QUrl icon()
const = 0;
224 virtual Stage stage()
const = 0;
225 virtual State state()
const = 0;
226 virtual bool focused()
const = 0;
227 virtual QString splashTitle()
const = 0;
228 virtual QUrl splashImage()
const = 0;
229 virtual bool splashShowHeader()
const = 0;
230 virtual QColor splashColor()
const = 0;
231 virtual QColor splashColorHeader()
const = 0;
232 virtual QColor splashColorFooter()
const = 0;
237 void nameChanged(
const QString &name);
238 void commentChanged(
const QString &comment);
239 void iconChanged(
const QUrl &icon);
240 void stageChanged(Stage stage);
241 void stateChanged(State state);
242 void focusedChanged(
bool focused);
250 #endif // UNITY_SHELL_APPLICATIONMANAGER_APPLICATIONINFOINTERFACE_H
Top-level namespace for all things Unity-related.
Definition: Version.h:37
Stage
A enum that defines a stage.
Definition: ApplicationInfoInterface.h:193
State
An application's state.
Definition: ApplicationInfoInterface.h:210
A class that holds information about applications.
Definition: ApplicationInfoInterface.h:43