diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-04 06:49:18 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-04 06:49:18 +0000 |
| commit | db8440865fe73618dcc2da70f885eb892623d66a (patch) | |
| tree | 29b7be3e72645a263af12bb774226eab2c4930de /source/QXmppRemoteMethod.cpp | |
| parent | 3c78f630602a6f011f3421b62f121ab5e5025c96 (diff) | |
| download | qxmpp-db8440865fe73618dcc2da70f885eb892623d66a.tar.gz | |
start cleaning up accessor names
Diffstat (limited to 'source/QXmppRemoteMethod.cpp')
| -rw-r--r-- | source/QXmppRemoteMethod.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/QXmppRemoteMethod.cpp b/source/QXmppRemoteMethod.cpp index 795b4709..99d04a58 100644 --- a/source/QXmppRemoteMethod.cpp +++ b/source/QXmppRemoteMethod.cpp @@ -31,18 +31,18 @@ QXmppRemoteMethodResult QXmppRemoteMethod::call( ) void QXmppRemoteMethod::gotError( const QXmppRpcErrorIq &iq ) { - if ( iq.getId() == m_payload.getId() ) + if ( iq.id() == m_payload.id() ) { m_result.hasError = true; - m_result.errorMessage = iq.getError().getText(); - m_result.code = iq.getError().getType(); + m_result.errorMessage = iq.error().getText(); + m_result.code = iq.error().getType(); emit callDone(); } } void QXmppRemoteMethod::gotResult( const QXmppRpcResponseIq &iq ) { - if ( iq.getId() == m_payload.getId() ) + if ( iq.id() == m_payload.id() ) { m_result.hasError = false; m_result.result = iq.getPayload(); |
