X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=mainwidget.hpp;h=0fb63a21854c5eaccbe8bff6547e6825e2d48d52;hb=2af109727c2bbd289adc872dfc52b92a111a1e37;hp=65f64ab0d411934933fa4930a112bfb7cc55dc74;hpb=1927073b788c45ddbbe2bba9be7795912a94d25a;p=yandex-traffic diff --git a/mainwidget.hpp b/mainwidget.hpp index 65f64ab..0fb63a2 100644 --- a/mainwidget.hpp +++ b/mainwidget.hpp @@ -3,6 +3,7 @@ #include +#include "traffic.hpp" #include "settings.hpp" #include "regions.hpp" #include "light.hpp" @@ -12,6 +13,7 @@ class MainWidget : public QWidget { Q_OBJECT private: + Traffic _traffic; RegionsTable _regions; Settings _settings; @@ -25,6 +27,10 @@ public: protected: void paintEvent (QPaintEvent *event); + void timerEvent (QTimerEvent *event); + +protected slots: + void trafficUpdated (); }; #endif /* __MAINWIDGET_H__ */