1
#ifndef DISCOINFOQUERIER_H
2
#define DISCOINFOQUERIER_H
14
* A DiscoInfoQuerier is an object used to query Service Discovery information.
16
class DiscoInfoQuerier : public QObject
22
* Retrieves Disco information of a jid on a specific node.
24
virtual void getDiscoInfo(const XMPP::Jid& jid, const QString& node) = 0;
28
* Signals that a disco information request was succesful.
30
* @param jid the jid on which the request was done
31
* @param node the node on which the request was done
32
* @param item the resulting disco item.
34
void getDiscoInfo_success(const XMPP::Jid& jid, const QString& node, const XMPP::DiscoItem& item);
37
* Signals that a disco information request returned an error.
39
* @param jid the jid on which the request was done
40
* @param node the node on which the request was done
41
* @param error_code the error code of the error
42
* @param error_string the error text of the error
44
void getDiscoInfo_error(const XMPP::Jid& jid, const QString& node, int error_code, const QString& error_string);