--- a/include/readerthread.h
+++ b/include/readerthread.h
@@ -15,26 +15,26 @@
class Monitor;
-class DataChangeEvent : public QEvent {
- public:
- DataChangeEvent(QString msg_)
- : QEvent((QEvent::Type)MSG_EVENT)
- {
- msg = msg_;
+class DataChangeEvent:public QEvent {
+ public:
+ DataChangeEvent (QString msg_)
+ :QEvent ((QEvent::Type) MSG_EVENT) {
+ msg = msg_;
- }
-
- QString Text() const { return msg; }
- private:
- QString msg;
+ }
+ QString Text () const {
+ return msg;
+ }
+ private:
+ QString msg;
};
-class readerThread : public QThread {
- public:
- readerThread(Monitor*);
- virtual void run();
- private:
- Monitor *handle;
+class readerThread:public QThread {
+ public:
+ readerThread (Monitor *);
+ virtual void run ();
+ private:
+ Monitor * handle;
};
#endif