Home · Modules · Classes · Namespaces · Functions

QxtXmlRpcClient Class Reference
[QxtNetwork module]

The QxtXmlRpcClient class implements an XML-RPC Client. More...

    #include <QxtXmlRpcClient>

Inherits QObject.

Public Functions

Additional Inherited Members


Detailed Description

The QxtXmlRpcClient class implements an XML-RPC Client.

Implements a Client that can communicate with services implementing the XML-RPC spec http://www.xmlrpc.com/spec

Type Conversion

XML-RPC TypeQt Type
arrayQVariantList
base64QByteArray (decoded from base64 to raw)
booleanbool
dateTimeQDateTime
doubledouble
intint
i4int
stringQString
structQVariantMap
nilQVariant()


Member Function Documentation

QxtXmlRpcClient::QxtXmlRpcClient ( QObject * parent = 0 )

QxtXmlRpcCall * QxtXmlRpcClient::call ( QString method, QVariantList arguments )

calls the remote method with arguments and returns a QxtXmlRpcCall wrapping it. you can connect to QxtXmlRpcCall's signals to retreive the status of the call.

QNetworkAccessManager * QxtXmlRpcClient::networkManager () const

returns the QNetworkAccessManager used for connecting to the remote service

See also setNetworkManager().

QUrl QxtXmlRpcClient::serviceUrl () const

returns the url of the remote service

See also setServiceUrl().

void QxtXmlRpcClient::setNetworkManager ( QNetworkAccessManager * manager )

sets the QNetworkAccessManager used for connecting to the remote service to manager

See also networkManager().

void QxtXmlRpcClient::setServiceUrl ( QUrl url )

sets the url of the remote service to url

See also serviceUrl().


Copyright © 2007-2011 Qxt Foundation
Qxt 0.6.2