Qt 4.8
Classes | Functions
qicdengine.h File Reference
#include <QtNetwork/private/qbearerengine_p.h>
#include <QtCore/qtimer.h>
#include "maemo_icd.h"

Go to the source code of this file.

Classes

class  IcdNetworkConfigurationPrivate
 
class  QIcdEngine
 

Functions

QNetworkConfiguration::BearerType bearerTypeFromIapType (const QString &iapType)
 
IcdNetworkConfigurationPrivatetoIcdConfig (QNetworkConfigurationPrivatePointer ptr)
 

Function Documentation

◆ bearerTypeFromIapType()

QNetworkConfiguration::BearerType bearerTypeFromIapType ( const QString iapType)
inline

Definition at line 58 of file qicdengine.h.

Referenced by QIcdEngine::addConfiguration(), QIcdEngine::doRequestUpdate(), QNetworkSessionPrivateImpl::stateChange(), and QNetworkSessionPrivateImpl::syncStateWithInterface().

59 {
60  if (iapType == QLatin1String("WLAN_INFRA") ||
61  iapType == QLatin1String("WLAN_ADHOC")) {
63  } else if (iapType == QLatin1String("GPRS")) {
65  } else {
67  }
68 }
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString

◆ toIcdConfig()