--- a/include/monitor.h
+++ b/include/monitor.h
@@ -12,26 +12,22 @@
class readerThread;
-class Monitor : public QWidget, private Ui::qMonitor
-{
- Q_OBJECT
-
- public:
- Monitor(QWidget *parent = 0);
- virtual ~Monitor();
- int getPort();
- int getProtocol();
+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<QString, int> Protocol;
+ protected:
+ virtual void customEvent (QEvent *);
+ std::map < QString, int >Protocol;
- private:
- readerThread *reader;
+ private:
+ readerThread * reader;
- public slots:
- virtual void startCapture();
- virtual void stopCapture();
+ public slots:virtual void startCapture ();
+ virtual void stopCapture ();
};