X-Git-Url: http://git.maemo.org/git/?p=jenirok;a=blobdiff_plain;f=src%2Fcommon%2Fconnectionmanager.h;h=b5a2c3ca0afced0f2f76bce6adc1636c0251182a;hp=34ec24c77edc21ef160fa632e489ff2aedf3e658;hb=d93782e7a5ae0fc072d094fd645cf415a34a2244;hpb=395da8664c99ec244e746de156217bbba96dea7b diff --git a/src/common/connectionmanager.h b/src/common/connectionmanager.h index 34ec24c..b5a2c3c 100644 --- a/src/common/connectionmanager.h +++ b/src/common/connectionmanager.h @@ -55,6 +55,7 @@ public: bool scanConnections(QList& connections, ConnectionType type = NO_TYPE); Error error() const; static unsigned int const TIMEOUT = 15000; + static unsigned int const WAIT_AFTER_CONNECT = 400; protected: virtual void timerEvent(QTimerEvent* event); @@ -65,6 +66,7 @@ private slots: void scanResult(const QDBusMessage& rep); private: + void sleep(unsigned int ms); bool waitSignal(bool* ready); bool stateReady_; bool connectionReady_;