Thanks !! I just figured it out after reading Docs !!
Thanks for replying (y)
You have a list of examples here
Now i got another question. I tried using QNetworkConfigurationManager.
If connection situation changes program succesfully sends a signal. The signal is onlineStateChanged(bool)
If i use QNetworkConfigurationManager::isOnline() function inside a constructor. It fails. Maybe a bug?
Here is my code inside constructor :
Ok, I found the problem. I need to rebuild QCA library.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.