#ifndef HARMACCUWEATHER_H #define HARMACCUWEATHER_H #include #include #include #include namespace sowatch { class HarmAccuWeather : public WeatherNotification { Q_OBJECT public: explicit HarmAccuWeather(QObject *parent = 0); static QSettings* getAccuweatherData(); Type type() const; uint count() const; QDateTime dateTime() const; QString title() const; QString body() const; WeatherType forecast(); int temperature(); Unit temperatureUnits(); void activate(); void dismiss(); private slots: void fileChanged(const QString& path); void update(); private: QFileSystemWatcher* _watcher; QTimer* _timer; bool _metric; QDateTime _lastUpdate; QString _lastLocation; int _lastTemp; int _lastWxCode; }; } #endif // HARMACCUWEATHER_H 33815680acdfc0ee5402'/> A daemon and framework to use the MetaWatch with the N9.Javier
summaryrefslogtreecommitdiff
blob: 64383b153612efbe2e37929c512e77f3a0d4144d (plain)
1
2
3
4
5
6
7
8
9
10
11
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Sowatch
Exec=/usr/bin/invoker --type=d -s /opt/sowatch/bin/sowatch
Icon=/usr/share/icons/hicolor/80x80/apps/sowatch80.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable