1 #ifndef __MAINWINDOW_H__
2 #define __MAINWINDOW_H__
5 #include <connection.hpp>
7 class MainWindow : public QWidget
14 ConnectionChecker *cc = ConnectionChecker::instance ();
16 connect (cc, SIGNAL (connected (bool)), SLOT (connected (bool)));
20 void connected (bool active)
23 printf ("Device connected\n");
25 printf ("Device not connected\n");
29 #endif // __MAINWINDOW_H__