diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-09 12:47:42 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-09 12:47:42 +0000 |
| commit | 7822be3dc96ae2029e46c6f5fe295914bb4dfdf0 (patch) | |
| tree | 7c11d68cb215762c060037ed71d045d413c0c8c4 /source/xmlrpc.h | |
| parent | 8a996d0fa8d6ea68c80e8c1e41f35dc924d04a07 (diff) | |
| download | qxmpp-7822be3dc96ae2029e46c6f5fe295914bb4dfdf0.tar.gz | |
prune dead XML RPC code
Diffstat (limited to 'source/xmlrpc.h')
| -rw-r--r-- | source/xmlrpc.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/source/xmlrpc.h b/source/xmlrpc.h index ec70864b..f562ce23 100644 --- a/source/xmlrpc.h +++ b/source/xmlrpc.h @@ -83,38 +83,26 @@ private: class RequestMessage : public MessageBase { public: - RequestMessage( const QDomElement &element ); - /** - * Creates an RequestMessage from an XML packet. - */ - RequestMessage( const QByteArray &xml ); + RequestMessage( const QDomElement &element ); + /** * Creates a method packet that will call method with a list of args. */ RequestMessage( const QByteArray &method, const QList<QVariant> &args ); - /** - * Convinence ctor that creates a packet for a method with a single - * argument. - */ - RequestMessage( const QByteArray &method, const QVariant &arg ); - virtual ~RequestMessage() {;} /** * Return the xml representation of the packet. */ - QByteArray xml() const; void writeXml( QXmlStreamWriter *writer ) const; QByteArray method() const; QList< QVariant > args() const; - private: QByteArray m_method; QList<QVariant> m_args; - }; /** @@ -163,13 +151,9 @@ public: /** * Return the xml representation of the packet. */ - virtual QByteArray xml() const; void writeXml( QXmlStreamWriter *writer ) const; - QList< QVariant > values() const; -protected: - void setValues( const QList<QVariant> va2ls); private: QList<QVariant> m_values; |
