equal
deleted
inserted
replaced
16 class Monitor; |
16 class Monitor; |
17 |
17 |
18 class DataChangeEvent:public QEvent { |
18 class DataChangeEvent:public QEvent { |
19 public: |
19 public: |
20 DataChangeEvent (QString msg_) |
20 DataChangeEvent (QString msg_) |
21 :QEvent ((QEvent::Type) MSG_EVENT) { |
21 : QEvent ((QEvent::Type) MSG_EVENT) { |
22 msg = msg_; |
22 msg = msg_; |
23 |
23 |
24 } |
24 }; |
25 QString Text () const { |
25 QString Text () const { |
26 return msg; |
26 return msg; |
27 } |
27 }; |
28 private: |
28 private: |
29 QString msg; |
29 QString msg; |
30 }; |
30 }; |
31 |
31 |
32 class readerThread:public QThread { |
32 class readerThread:public QThread { |
33 public: |
33 public: |
34 readerThread (Monitor *); |
34 readerThread (Monitor *); |
35 virtual void run (); |
35 virtual void run (); |
36 private: |
36 private: |
37 Monitor * handle; |
37 Monitor * handle; |
38 }; |
38 }; |
39 |
|
40 #endif |
39 #endif |