1 #ifndef __CONNECTION_H__
2 #define __CONNECTION_H__
8 // Singleton, which listens for ICD DBUS events about connection change
9 class ConnectionChecker : public QObject
21 void updateState (bool new_state);
24 void stateSignal (const QDBusMessage& msg);
27 static ConnectionChecker *instance ();
29 bool isConnected () const
30 { return _connected; };
35 void connected (bool active);
38 #endif // __CONNECTION_H__