summaryrefslogtreecommitdiff
path: root/app/pebbledinterface.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-12-14 03:26:46 +0100
committerJavier <dev.git@javispedro.com>2014-12-14 03:26:46 +0100
commitf40514fe681f5163deb5f579140ef4f7ac77f5a8 (patch)
treec3edddde3cbc98a797d5a1a7b745c2c5d3b99eba /app/pebbledinterface.h
parentdf30ca18eebd2dfec03c589b607d45a5891cf2b2 (diff)
add icons to the slots managament UI
Diffstat (limited to 'app/pebbledinterface.h')
-rw-r--r--app/pebbledinterface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/pebbledinterface.h b/app/pebbledinterface.h
index e468505..51efa12 100644
--- a/app/pebbledinterface.h
+++ b/app/pebbledinterface.h
@@ -5,6 +5,7 @@
#include <QUrl>
#include <QHash>
#include <QUuid>
+#include <QImage>
#include <QDBusInterface>
class OrgPebbledWatchInterface;
@@ -39,7 +40,9 @@ public:
Q_INVOKABLE QUrl configureApp(const QString &uuid);
- Q_INVOKABLE bool isAppInstalled(const QString &uuid);
+ Q_INVOKABLE bool isAppInstalled(const QString &uuid) const;
+
+ QImage menuIconForApp(const QUuid &uuid) const;
signals:
void enabledChanged();
@@ -82,6 +85,7 @@ private:
QStringList _appSlots;
QVariantList _apps;
QHash<QUuid, int> _appsByUuid;
+ QHash<QUuid, QImage> _appMenuIcons;
};
#endif // PEBBLEDINTERFACE_H