http://doc.qt.nokia.com/4.7/qnetworkinterface.html

Check the status "isUp" or "isRunning" of the interface you want to use.