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>
55 Q_PROPERTY(QString appId READ appId CONSTANT)
62 Q_PROPERTY(QString name READ name NOTIFY nameChanged)
70 Q_PROPERTY(QString comment READ comment NOTIFY commentChanged)
77 Q_PROPERTY(QUrl icon READ icon NOTIFY iconChanged)
84 Q_PROPERTY(
Stage stage READ stage NOTIFY stageChanged)
91 Q_PROPERTY(
State state READ state NOTIFY stateChanged)
98 Q_PROPERTY(
bool focused READ focused NOTIFY focusedChanged)
141 virtual QString appId()
const = 0;
142 virtual QString name()
const = 0;
143 virtual QString comment()
const = 0;
144 virtual QUrl icon()
const = 0;
145 virtual Stage stage()
const = 0;
146 virtual State state()
const = 0;
147 virtual bool focused()
const = 0;
152 void nameChanged(
const QString &name);
153 void commentChanged(
const QString &comment);
154 void iconChanged(
const QUrl &icon);
155 void stageChanged(Stage stage);
156 void stateChanged(State state);
157 void focusedChanged(
bool focused);
165 #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:114
State
An application's state.
Definition: ApplicationInfoInterface.h:131
A class that holds information about applications.
Definition: ApplicationInfoInterface.h:42