aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-03-04 07:37:23 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-03-04 07:37:23 +0000
commitcc55b18c8fc24dd2249d24748ef256e85033177b (patch)
treebe25787071c0ad594ff4a47c659b8118b28ff02e /example
parentb760873ade2916e88d99fdc3ce97c33b9eb6854b (diff)
downloadqxmpp-cc55b18c8fc24dd2249d24748ef256e85033177b.tar.gz
don't use deprecated accessors
Diffstat (limited to 'example')
-rw-r--r--example/example_1_echoClient/echoClient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/example_1_echoClient/echoClient.cpp b/example/example_1_echoClient/echoClient.cpp
index f16b076f..2f04e1b4 100644
--- a/example/example_1_echoClient/echoClient.cpp
+++ b/example/example_1_echoClient/echoClient.cpp
@@ -40,8 +40,8 @@ echoClient::~echoClient()
void echoClient::messageReceived(const QXmppMessage& message)
{
- QString from = message.getFrom();
- QString msg = message.getBody();
+ QString from = message.from();
+ QString msg = message.body();
sendPacket(QXmppMessage("", from, "Your message: " + msg));
}