diff options
author | Javier <dev.git@javispedro.com> | 2015-04-23 00:44:50 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-04-23 00:44:50 +0200 |
commit | e3ba0476684edda1b48afd8a1dd01700bdb1bedd (patch) | |
tree | fa924688444a9026500f57e7bb5c264ee5bb2aa6 /saltoqd/weathermanager.h | |
parent | 6662f40aff76e0700d82237261774758981bf784 (diff) | |
download | saltoq-e3ba0476684edda1b48afd8a1dd01700bdb1bedd.tar.gz saltoq-e3ba0476684edda1b48afd8a1dd01700bdb1bedd.zip |
add fonts, dithering, weather rendering
Diffstat (limited to 'saltoqd/weathermanager.h')
-rw-r--r-- | saltoqd/weathermanager.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/saltoqd/weathermanager.h b/saltoqd/weathermanager.h index 522f797..cc36c41 100644 --- a/saltoqd/weathermanager.h +++ b/saltoqd/weathermanager.h @@ -1,6 +1,8 @@ #ifndef WEATHERMANAGER_H #define WEATHERMANAGER_H +#include <QtCore/QFileSystemWatcher> +#include <QtGui/QImage> #include "toqmanager.h" class WeatherManager : public QObject @@ -9,12 +11,18 @@ class WeatherManager : public QObject public: explicit WeatherManager(FmsManager *fms, ToqManager *toq); +private: + QImage constructImage(const QJsonObject &obj); + private slots: - void handleToqConnected(); + void doRefresh(); private: ToqManager *_toq; FmsManager *_fms; + QString _file; + QFileSystemWatcher *_watcher; + QTimer *_refreshTimer; }; #endif // WEATHERMANAGER_H |