mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-21 21:20:45 +00:00
29 lines
582 B
C
29 lines
582 B
C
|
#ifndef XMLRPCCLIENT_H
|
||
|
#define XMLRPCCLIENT_H
|
||
|
|
||
|
#include "httpclient.h"
|
||
|
#include <QObject>
|
||
|
#include <QString>
|
||
|
#include <QVariant>
|
||
|
#include <QByteArray>
|
||
|
#include <QVariantList>
|
||
|
|
||
|
class XmlRpcClient : public HttpClient
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
XmlRpcClient( const QString &host,
|
||
|
const quint16 port );
|
||
|
|
||
|
void execute( const QString &method,
|
||
|
const QVariantList ¶ms );
|
||
|
|
||
|
signals:
|
||
|
void dataReady( const QVariant &data );
|
||
|
|
||
|
private slots:
|
||
|
void onDataReady( const QByteArray &data );
|
||
|
};
|
||
|
|
||
|
#endif // XMLRPCCLIENT_H
|