void NetClient::showEvent (QShowEvent * event){ _drv->InitDriver(); _drv->ConnectToServer("google.ru");}
C++ (Qt)QEventLoop loop;loop.exec();