equal
deleted
inserted
replaced
|
1 /* |
|
2 * $Id: monitor.h 2 2007-12-22 14:15:30Z mbroeker $ |
|
3 * $URL: http://localhost/svn/cpp/qMonitor/trunk/include/monitor.h $ |
|
4 */ |
|
5 |
|
6 #ifndef MONITOR_H |
|
7 #define MONITOR_H |
|
8 |
|
9 #include <readerthread.h> |
|
10 #include <qevent.h> |
|
11 #include "../ui_monitor.h" |
|
12 |
|
13 class readerThread; |
|
14 |
|
15 class Monitor : public QWidget, private Ui::qMonitor |
|
16 { |
|
17 Q_OBJECT |
|
18 |
|
19 public: |
|
20 Monitor(QWidget *parent = 0); |
|
21 virtual ~Monitor(); |
|
22 int getPort(); |
|
23 int getProtocol(); |
|
24 |
|
25 protected: |
|
26 virtual void customEvent( QEvent* ); |
|
27 std::map<QString, int> Protocol; |
|
28 |
|
29 private: |
|
30 readerThread *reader; |
|
31 |
|
32 public slots: |
|
33 virtual void startCapture(); |
|
34 virtual void stopCapture(); |
|
35 |
|
36 }; |
|
37 |
|
38 #endif |