| 17 | SyncXmlRpc::SyncXmlRpc(const QUrl &endPoint) : rpc(endPoint) {} |
| 18 | |
| 19 | bool SyncXmlRpc::request(const QString &method, const QVariantList &args) { |
| 20 | rpc.call(method, args, this, SLOT(whenResponse(QVariant &)), this, |
| 21 | SLOT(whenFault(int, const QString &))); |
| 22 | loop.exec(); |
| 23 | return result; |
| 24 | } |
| 25 | |
| 26 | QVariant SyncXmlRpc::getResponse() const { return resp; } |
| 27 |
no test coverage detected