QNetworkConfiguration Class Reference

QNetworkConfiguration Class Reference

#include <qnetworkconfiguration.h>

Class Description

Definition at line 71 of file qnetworkconfiguration.h.

Public Types

enum  Type { InternetAccessPoint = 0, ServiceNetwork, UserChoice, Invalid }
 
enum  Purpose { UnknownPurpose = 0, PublicPurpose, PrivatePurpose, ServiceSpecificPurpose }
 
enum  StateFlag { Undefined = 0x0000001, Defined = 0x0000002, Discovered = 0x0000006, Active = 0x000000e }
 
enum  BearerType {
  BearerUnknown, BearerEthernet, BearerWLAN, Bearer2G,
  BearerCDMA2000, BearerWCDMA, BearerHSPA, BearerBluetooth,
  BearerWiMAX
}
 

Public Member Functions

 QNetworkConfiguration ()
 
 QNetworkConfiguration (const QNetworkConfiguration &other)
 
QNetworkConfigurationoperator= (const QNetworkConfiguration &other)
 
 ~QNetworkConfiguration ()
 
bool operator== (const QNetworkConfiguration &other) const
 
bool operator!= (const QNetworkConfiguration &other) const
 
StateFlags state () const
 
Type type () const
 
Purpose purpose () const
 
BearerType bearerType () const
 
QString bearerTypeName () const
 
QString identifier () const
 
bool isRoamingAvailable () const
 
QList< QNetworkConfigurationchildren () const
 
QString name () const
 
bool isValid () const
 

Friends

class QNetworkConfigurationPrivate
 
class QNetworkConfigurationManager
 
class QNetworkConfigurationManagerPrivate
 
class QNetworkSessionPrivate
 

Member Enumeration Documentation

enum StateFlag
Enumerator
Undefined 
Defined 
Discovered 
Active 

Definition at line 97 of file qnetworkconfiguration.h.

Constructor & Destructor Documentation

Member Function Documentation

QNetworkConfiguration& operator= ( const QNetworkConfiguration other)
bool operator== ( const QNetworkConfiguration other) const
bool operator!= ( const QNetworkConfiguration other) const
inline

Definition at line 80 of file qnetworkconfiguration.h.

81  { return !operator==(other); }
bool operator==(const QNetworkConfiguration &other) const
StateFlags state ( ) const
Type type ( ) const
Purpose purpose ( ) const
BearerType bearerType ( ) const
QString bearerTypeName ( ) const
QString identifier ( ) const
bool isRoamingAvailable ( ) const
QList<QNetworkConfiguration> children ( ) const
QString name ( ) const
bool isValid ( ) const

Friends And Related Function Documentation

friend class QNetworkConfigurationPrivate
friend

Definition at line 142 of file qnetworkconfiguration.h.

friend class QNetworkConfigurationManager
friend

Definition at line 143 of file qnetworkconfiguration.h.

friend class QNetworkConfigurationManagerPrivate
friend

Definition at line 144 of file qnetworkconfiguration.h.

friend class QNetworkSessionPrivate
friend

Definition at line 145 of file qnetworkconfiguration.h.


The documentation for this class was generated from the following file: