From db8440865fe73618dcc2da70f885eb892623d66a Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 4 Mar 2010 06:49:18 +0000 Subject: start cleaning up accessor names --- source/QXmppRemoteMethod.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/QXmppRemoteMethod.cpp') 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(); -- cgit v1.2.3