diff options
| author | Javier <dev.git@javispedro.com> | 2014-12-14 03:26:46 +0100 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2014-12-14 03:26:46 +0100 |
| commit | f40514fe681f5163deb5f579140ef4f7ac77f5a8 (patch) | |
| tree | c3edddde3cbc98a797d5a1a7b745c2c5d3b99eba /app/pebbledinterface.h | |
| parent | df30ca18eebd2dfec03c589b607d45a5891cf2b2 (diff) | |
add icons to the slots managament UI
Diffstat (limited to 'app/pebbledinterface.h')
| -rw-r--r-- | app/pebbledinterface.h | 6 |
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 |
