diff options
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 |