diff --git a/include/monitor.h b/include/monitor.h new file mode 100644 --- /dev/null +++ b/include/monitor.h @@ -0,0 +1,38 @@ +/* + * $Id: monitor.h 2 2007-12-22 14:15:30Z mbroeker $ + * $URL: http://localhost/svn/cpp/qMonitor/trunk/include/monitor.h $ + */ + +#ifndef MONITOR_H +#define MONITOR_H + +#include +#include +#include "../ui_monitor.h" + +class readerThread; + +class Monitor : public QWidget, private Ui::qMonitor +{ + Q_OBJECT + + public: + Monitor(QWidget *parent = 0); + virtual ~Monitor(); + int getPort(); + int getProtocol(); + + protected: + virtual void customEvent( QEvent* ); + std::map Protocol; + + private: + readerThread *reader; + + public slots: + virtual void startCapture(); + virtual void stopCapture(); + +}; + +#endif