17#ifndef LOMIRI_SHELL_LAUNCHER_LAUNCHERITEM_H
18#define LOMIRI_SHELL_LAUNCHER_LAUNCHERITEM_H
20#include <lomiri/SymbolExport.h>
22#include <QtCore/QObject>
52 Q_PROPERTY(QString
name READ
name NOTIFY nameChanged)
57 Q_PROPERTY(QString
icon READ
icon NOTIFY iconChanged)
144 virtual QString appId()
const = 0;
145 virtual QString name()
const = 0;
146 virtual QString icon()
const = 0;
147 virtual QStringList keywords()
const = 0;
148 virtual uint popularity()
const = 0;
149 virtual bool pinned()
const = 0;
150 virtual bool running()
const = 0;
151 virtual bool recent()
const = 0;
152 virtual int progress()
const = 0;
153 virtual int count()
const = 0;
154 virtual bool countVisible()
const = 0;
155 virtual bool focused()
const = 0;
156 virtual bool alerting()
const = 0;
157 virtual int surfaceCount()
const = 0;
161 void nameChanged(
const QString &name);
162 void iconChanged(
const QString &icon);
163 void keywordsChanged(
const QStringList &keywords);
164 void popularityChanged(uint popularity);
165 void pinnedChanged(
bool pinned);
166 void runningChanged(
bool running);
167 void recentChanged(
bool running);
168 void progressChanged(
int progress);
169 void countChanged(
int count);
170 void countVisibleChanged(
bool countVisible);
171 void focusedChanged(
bool focused);
172 void alertingChanged(
bool alerting);
173 void surfaceCountChanged(
int surfaceCount);
An item presented in the launcher.
Definition LauncherItemInterface.h:41
uint popularity
The popularity of this application, e.g. usage count given by Zeitgeist.
Definition LauncherItemInterface.h:67
bool running
A flag whether the application belonging to the icon is currently running or not.
Definition LauncherItemInterface.h:77
lomiri::shell::launcher::QuickListModelInterface * quickList
The quick list menu contents for the item.
Definition LauncherItemInterface.h:135
int count
The number for the count emblem on the item.
Definition LauncherItemInterface.h:98
bool focused
The focused state of the item.
Definition LauncherItemInterface.h:112
QString icon
The full path to the icon to be shown for the item.
Definition LauncherItemInterface.h:57
QString name
The user visible name of the item.
Definition LauncherItemInterface.h:52
QStringList keywords
The keywords for this item.
Definition LauncherItemInterface.h:62
QString appId
The appId of the application associated with the item.
Definition LauncherItemInterface.h:47
bool recent
A flag wheter the application is in the recently used applications list.
Definition LauncherItemInterface.h:82
int progress
The percentage of the progress bar shown on the item.
Definition LauncherItemInterface.h:90
bool pinned
A flag whether the item is pinned or not.
Definition LauncherItemInterface.h:72
bool alerting
The alerting state of the item.
Definition LauncherItemInterface.h:119
bool countVisible
The visibility of the count emblem.
Definition LauncherItemInterface.h:105
int surfaceCount
The number of surfaces that this application entry has opened.
Definition LauncherItemInterface.h:126
A model containing QuickList actions for an application in the launcher.
Definition QuickListModelInterface.h:45
Top-level namespace for all things Lomiri-related.
Definition Version.h:38