1 #include "connection.hpp"
3 static ConnectionChecker *_instance = NULL;
6 // --------------------------------------------------
7 // ConnectionChecker singleton
8 // --------------------------------------------------
9 ConnectionChecker *ConnectionChecker::instance ()
12 _instance = new ConnectionChecker;
17 ConnectionChecker::ConnectionChecker ()
19 // start timer which will check connection
24 void ConnectionChecker::timerEvent (QTimerEvent *)
26 // check for connection