#include <connectiondetail.h>
class NokiaAccount::ConnectionDetail : public QObject, public QObject |
Class holds the data associated with the proxy connectivity and timeout.
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() |
int | getConnectionTimeOut() |
QNetworkProxy | getNetworkProxy() |
ProxyType | getProxyType() |
QString | iapName() |
QByteArray | serialize() |
void | setBaseUrl(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() |
The ConnectionDetail class allows the user to set different types of proxy connectivity like "NoProxy", "AutoProxy" and "SetProxyAddress" and timeout value.
ConnectionDetail | ( | ProxyType | proxyType, |
int | timeOut = DEFAULTTIMEOUT , | ||
QObject * | parent = 0 | ||
) |
Constructor
Parameters | |
---|---|
proxyType | Proxy type for connection. |
timeOut | Http timeout in milliseconds. Default value is five seconds. |
ConnectionDetail | ( | const QNetworkProxy & | networkProxy, |
int | timeOut = DEFAULTTIMEOUT , | ||
QObject * | parent = 0 | ||
) |
Constructor
Parameters | |
---|---|
networkProxy | Network proxy details. |
timeOut | Http timeout in milliseconds. Default value is five seconds. |
ConnectionDetail | ( | ProxyType | proxyType, |
int | timeOut, | ||
NokiaAccount::BaseUrl | baseUrl, | ||
const QString & | apnName = "", | ||
QObject * | parent = 0 | ||
) |
Constructor
Constructor
Parameters | |
---|---|
proxyType | Proxy type for connection. |
timeOut | Http timeout in milliseconds. Default value is five seconds. |
baseUrl | the url which should be used as backend |
apnName | the IAP name that should be used to connect to the server. Empty apnname denotes that default IAP should be used |
ConnectionDetail | ( | const QNetworkProxy & | networkProxy, |
int | timeOut, | ||
NokiaAccount::BaseUrl | baseUrl, | ||
const QString & | apnName = "", | ||
QObject * | parent = 0 | ||
) |
Constructor
Constructor
Parameters | |
---|---|
networkProxy | Network proxy details. |
timeOut | Http timeout in milliseconds. Default value is five seconds. |
apnName | the IAP name that should be used to connect to the server. Empty apnname denotes that default IAP should be used |
ConnectionDetail | ( | ProxyType | proxyType, |
int | timeOut, | ||
const QString & | iapName, | ||
NokiaAccount::BaseUrl | baseUrl, | ||
QObject * | parent = 0 | ||
) |
Constructor
Constructor
Parameters | |
---|---|
proxyType | Proxy type for connection. |
timeOut | Http timeout in milliseconds. Default value is five seconds. |
baseUrl | the url which should be used as backend |
ConnectionDetail | ( | const QNetworkProxy & | networkProxy, |
int | timeOut, | ||
const QString & | iapName, | ||
NokiaAccount::BaseUrl | baseUrl, | ||
QObject * | parent = 0 | ||
) |
Constructor
Constructor
Parameters | |
---|---|
networkProxy | Network proxy details. |
timeOut | Http timeout in milliseconds. Default value is five seconds. |
ConnectionDetail | ( | const ConnectionDetail & | connectionDetail | ) |
Copy Constructor
Parameters | |
---|---|
connectionDetail | ConnectionDetail object. |
ConnectionDetail | ( | QByteArray & | aSerializedData | ) |
Overloaded constructor to deserialize.
Overloaded constructor
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
NokiaAccount::BaseUrl | getBaseUrl | ( | ) | const |
Getter for the configured baseUrl.
int | getConnectionTimeOut | ( | ) | const |
Getter for the Connection timeout.
QNetworkProxy | getNetworkProxy | ( | ) | const |
Getter for the Network Proxy address.
Getter for the Network Proxy address.
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
QByteArray | serialize | ( | ) | const |
Serializes the connection detail object into a byte array and returns the same.
Serializes the object into a byte array.
void | setBaseUrl | ( | NokiaAccount::BaseUrl | aBaseUrl | ) |
Setter for the base url requested. Empty string represents SSO De is free to choose the Apn based on system configuration
Parameters | |
---|---|
aBaseUrl | The baseurl requested |