I'm using a QNetworkAccessManager object to fire off GET requests, however I find that if the device does not have a network connection it automatically connects to my 3G provider. What I'd like is to have it pop up the standard internet connection selection window to allow the user to select the internet access point to use.
#include <icd/dbus_api.h> static QDBusConnection dBusConnection = QDBusConnection::systemBus(); ICD::ICD(QObject *parent) : QObject(parent) { QDBusInterface *dBusInterface = new QDBusInterface(ICD_DBUS_API_INTERFACE, ICD_DBUS_API_PATH, ICD_DBUS_API_INTERFACE, dBusConnection); //From dbus_api.h: Request the 'Select connection' dialog; //Only connectiviy UIs should be using this function. dBusInterface->call(ICD_DBUS_API_SELECT_REQ, QVariant((unsigned int)ICD_CONNECTION_FLAG_USER_EVENT)); }