| 1 | #ifndef CLIENT_H |
| 2 | #define CLIENT_H |
| 3 | |
| 4 | #include "maiaXmlRpcClient.h" |
| 5 | |
| 6 | class Client : public QObject { |
| 7 | Q_OBJECT |
| 8 | |
| 9 | public: |
| 10 | Client(QObject* parent = 0); |
| 11 | |
| 12 | public slots: |
| 13 | void doClient(); |
| 14 | |
| 15 | private slots: |
| 16 | void testResponse(QVariant &); |
| 17 | void testFault(int, const QString &); |
| 18 | void towelResponse(QVariant &); |
| 19 | void handleSslErrors(QNetworkReply *reply, const QList<QSslError> &errors); |
| 20 | |
| 21 | private: |
| 22 | MaiaXmlRpcClient *rpc; |
| 23 | }; |
| 24 | |
| 25 | #endif |