diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-09 12:29:02 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-09 12:29:02 +0000 |
| commit | 40a1729840135675fd6cb5f7748e9f42baa49324 (patch) | |
| tree | c43a31c10c9c95c6d992666d177827c99dfa1d29 /source/QXmppRpcIq.h | |
| parent | a32c6d9c59792bd9b4d9e3f3bcedffed883ac738 (diff) | |
| download | qxmpp-40a1729840135675fd6cb5f7748e9f42baa49324.tar.gz | |
rename RPC IQ accessors starting with "get"
Diffstat (limited to 'source/QXmppRpcIq.h')
| -rw-r--r-- | source/QXmppRpcIq.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/QXmppRpcIq.h b/source/QXmppRpcIq.h index 9700a8b8..7eae434a 100644 --- a/source/QXmppRpcIq.h +++ b/source/QXmppRpcIq.h @@ -12,7 +12,7 @@ class QXmppRpcResponseIq : public QXmppIq public: QXmppRpcResponseIq(); - QVariant getPayload() const; + QVariant payload() const; void setPayload( const QVariant &payload ); static bool isRpcResponseIq(const QDomElement &element); @@ -30,13 +30,13 @@ class QXmppRpcInvokeIq : public QXmppIq public: QXmppRpcInvokeIq(); - QVariantList getPayload() const; + QVariantList payload() const; void setPayload( const QVariantList &payload ); - QString getMethod() const; + QString method() const; void setMethod( const QString &method ); - QString getInterface() const; + QString interface() const; void setInterface( const QString &interface ); static bool isRpcInvokeIq(const QDomElement &element); @@ -58,8 +58,8 @@ class QXmppRpcErrorIq : public QXmppIq public: QXmppRpcErrorIq(); + QXmppRpcInvokeIq query() const; void setQuery(const QXmppRpcInvokeIq &query); - QXmppRpcInvokeIq getQuery() const; static bool isRpcErrorIq(const QDomElement &element); |
