include/monitor.h
changeset 3 724e07a9f155
parent 0 826dd5531eb0
child 4 fdf04a93faeb
--- 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 ();
 
 };