NokiaAccount::ConnectionDetail Class Reference

#include <connectiondetail.h>

class NokiaAccount::ConnectionDetail : public QObject, public QObject

Class holds the data associated with the proxy connectivity and timeout.

Inherits from

  • NokiaAccount::ConnectionDetail
    Public Member Functions
    ConnectionDetail(ProxyType, int, QObject *)
    ConnectionDetail(const QNetworkProxy &, int, QObject *)
    ConnectionDetail(ProxyType, int, NokiaAccount::BaseUrl, const QString &, QObject *)
    ConnectionDetail(const QNetworkProxy &, int, NokiaAccount::BaseUrl, const QString &, QObject *)
    ConnectionDetail(ProxyType, int, const QString &, NokiaAccount::BaseUrl, QObject *)
    ConnectionDetail(const QNetworkProxy &, int, const QString &, NokiaAccount::BaseUrl, QObject *)
    ConnectionDetail(const ConnectionDetail &)
    ConnectionDetail(QByteArray &)
    ~ConnectionDetail()
    QString getApnName()
    NokiaAccount::BaseUrl getBaseUrl()
    intgetConnectionTimeOut()
    QNetworkProxy getNetworkProxy()
    ProxyType getProxyType()
    QString iapName()
    QByteArray serialize()
    voidsetBaseUrl(NokiaAccount::BaseUrl)
    Inherited Attributes
    QObject::d_ptr
    QObject::objectName
    QObject::staticQtMetaObject
    Inherited Functions
    QObject::QObject(QObjectPrivate &,QObject *)
    QObject::blockSignals(bool)
    QObject::childEvent(QChildEvent *)
    QObject::children()const
    QObject::connect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &,Qt::ConnectionType)
    QObject::connect(const QObject *,const char *,const QObject *,const char *,Qt::ConnectionType)
    QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType)const
    QObject::connectNotify(const char *)
    QObject::customEvent(QEvent *)
    QObject::deleteLater
    QObject::destroyed
    QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &)
    QObject::disconnect(const QObject *,const char *)
    QObject::disconnect(const QObject *,const char *,const QObject *,const char *)
    QObject::disconnect(const char *,const QObject *,const char *)
    QObject::disconnectNotify(const char *)
    QObject::dumpObjectInfo()
    QObject::dumpObjectTree()
    QObject::dynamicPropertyNames()const
    QObject::event(QEvent *)
    QObject::eventFilter(QObject *,QEvent *)
    QObject::findChild(const QString &)const
    QObject::findChildren(const QRegExp &)const
    QObject::findChildren(const QString &)const
    QObject::inherits(const char *)const
    QObject::installEventFilter(QObject *)
    QObject::isWidgetType()const
    QObject::killTimer(int)
    QObject::moveToThread(QThread *)
    QObject::objectName()const
    QObject::parent()const
    QObject::property(const char *)const
    QObject::receivers(const char *)const
    QObject::registerUserData()
    QObject::removeEventFilter(QObject *)
    QObject::sender()const
    QObject::senderSignalIndex()const
    QObject::setObjectName(const QString &)
    QObject::setParent(QObject *)
    QObject::setProperty(const char *,const QVariant &)
    QObject::setUserData(uint,QObjectUserData *)
    QObject::signalsBlocked()const
    QObject::startTimer(int)
    QObject::thread()const
    QObject::timerEvent(QTimerEvent *)
    QObject::userData(uint)const
    QObject::~QObject()

    Detailed Description

    The ConnectionDetail class allows the user to set different types of proxy connectivity like "NoProxy", "AutoProxy" and "SetProxyAddress" and timeout value.

    Constructor & Destructor Documentation

    ConnectionDetail ( ProxyType, int, QObject * )

    ConnectionDetail(ProxyTypeproxyType,
    inttimeOut =  DEFAULTTIMEOUT ,
    QObject *parent = 0
    )

    Constructor

    Parameters
    proxyTypeProxy type for connection.
    timeOutHttp timeout in milliseconds. Default value is five seconds.

    ConnectionDetail ( const QNetworkProxy &, int, QObject * )

    ConnectionDetail(const QNetworkProxy &networkProxy,
    inttimeOut =  DEFAULTTIMEOUT ,
    QObject *parent = 0
    )

    Constructor

    Parameters
    networkProxyNetwork proxy details.
    timeOutHttp timeout in milliseconds. Default value is five seconds.

    ConnectionDetail ( ProxyType, int, NokiaAccount::BaseUrl, const QString &, QObject * )

    ConnectionDetail(ProxyTypeproxyType,
    inttimeOut,
    NokiaAccount::BaseUrlbaseUrl,
    const QString &apnName = "",
    QObject *parent = 0
    )

    Constructor

    Constructor

    Parameters
    proxyTypeProxy type for connection.
    timeOutHttp timeout in milliseconds. Default value is five seconds.
    baseUrlthe url which should be used as backend
    apnNamethe IAP name that should be used to connect to the server. Empty apnname denotes that default IAP should be used

    ConnectionDetail ( const QNetworkProxy &, int, NokiaAccount::BaseUrl, const QString &, QObject * )

    ConnectionDetail(const QNetworkProxy &networkProxy,
    inttimeOut,
    NokiaAccount::BaseUrlbaseUrl,
    const QString &apnName = "",
    QObject *parent = 0
    )

    Constructor

    Constructor

    Parameters
    networkProxyNetwork proxy details.
    timeOutHttp timeout in milliseconds. Default value is five seconds.
    apnNamethe IAP name that should be used to connect to the server. Empty apnname denotes that default IAP should be used

    ConnectionDetail ( ProxyType, int, const QString &, NokiaAccount::BaseUrl, QObject * )

    ConnectionDetail(ProxyTypeproxyType,
    inttimeOut,
    const QString &iapName,
    NokiaAccount::BaseUrlbaseUrl,
    QObject *parent = 0
    )

    Constructor

    Constructor

    Parameters
    proxyTypeProxy type for connection.
    timeOutHttp timeout in milliseconds. Default value is five seconds.
    baseUrlthe url which should be used as backend

    ConnectionDetail ( const QNetworkProxy &, int, const QString &, NokiaAccount::BaseUrl, QObject * )

    ConnectionDetail(const QNetworkProxy &networkProxy,
    inttimeOut,
    const QString &iapName,
    NokiaAccount::BaseUrlbaseUrl,
    QObject *parent = 0
    )

    Constructor

    Constructor

    Parameters
    networkProxyNetwork proxy details.
    timeOutHttp timeout in milliseconds. Default value is five seconds.

    ConnectionDetail ( const ConnectionDetail & )

    ConnectionDetail(const ConnectionDetail &connectionDetail)

    Copy Constructor

    Parameters
    connectionDetailConnectionDetail object.

    ConnectionDetail ( QByteArray & )

    ConnectionDetail(QByteArray &aSerializedData)

    Overloaded constructor to deserialize.

    Overloaded constructor

    ~ConnectionDetail ( )

    ~ConnectionDetail()

    Destructor

    Serializes the object into a byte array.

    Member Function Documentation

    getApnName ( )

    QString getApnName()const

    Getter for the Apn name requested. Empty string represents SSO De is free to choose the Apn based on system configuration Getter for the Apn name requested. Empty string represents SSO De is free to choose the Apn based on system configuration

    Return Value
    Returns the Apnname requested as QString. An empty apnname denotes that default apn should be usedReturns the Apnname requested as QString.

    getBaseUrl ( )

    NokiaAccount::BaseUrl getBaseUrl()const

    Getter for the configured baseUrl.

    Return Value
    configured the baseUrl .

    getConnectionTimeOut ( )

    intgetConnectionTimeOut()const

    Getter for the Connection timeout.

    Return Value
    Returns timeout value as int.

    getNetworkProxy ( )

    QNetworkProxy getNetworkProxy()const

    Getter for the Network Proxy address.

    Getter for the Network Proxy address.

    Return Value
    Returns proxy address as a QNetworkProxy.

    getProxyType ( )

    ProxyType getProxyType()const

    Getter for the ProxyType.

    Return Value
    Returns enum value.

    iapName ( )

    QString iapName()const

    Getter for the IAP name requested. Empty string represents SSO De is free to choose the Iap based on system configuration Getter for the IAP name requested. Empty string represents SSO De is free to choose the IAP based on system configuration

    Return Value
    Returns the IapName requested as QString. An empty IpaName denotes that default IAP should be usedReturns the IapName requested as QString.

    serialize ( )

    QByteArray serialize()const

    Serializes the connection detail object into a byte array and returns the same.

    Serializes the object into a byte array.

    setBaseUrl ( NokiaAccount::BaseUrl )

    voidsetBaseUrl(NokiaAccount::BaseUrlaBaseUrl)

    Setter for the base url requested. Empty string represents SSO De is free to choose the Apn based on system configuration

    Parameters
    aBaseUrlThe baseurl requested