projects
/
yandex-traffic
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Connection tracker class finished.
[yandex-traffic]
/
mainwidget.hpp
diff --git
a/mainwidget.hpp
b/mainwidget.hpp
index
65f64ab
..
0fb63a2
100644
(file)
--- a/
mainwidget.hpp
+++ b/
mainwidget.hpp
@@
-3,6
+3,7
@@
#include <QtGui>
#include <QtGui>
+#include "traffic.hpp"
#include "settings.hpp"
#include "regions.hpp"
#include "light.hpp"
#include "settings.hpp"
#include "regions.hpp"
#include "light.hpp"
@@
-12,6
+13,7
@@
class MainWidget : public QWidget
{
Q_OBJECT
private:
{
Q_OBJECT
private:
+ Traffic _traffic;
RegionsTable _regions;
Settings _settings;
RegionsTable _regions;
Settings _settings;
@@
-25,6
+27,10
@@
public:
protected:
void paintEvent (QPaintEvent *event);
protected:
void paintEvent (QPaintEvent *event);
+ void timerEvent (QTimerEvent *event);
+
+protected slots:
+ void trafficUpdated ();
};
#endif /* __MAINWIDGET_H__ */
};
#endif /* __MAINWIDGET_H__ */