aboutsummaryrefslogtreecommitdiff
path: root/examples/example_5_rpcInterface
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-12-10 16:46:56 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-12-10 16:46:56 +0000
commit322725554e52c46638481c34ee6f652d173c58f4 (patch)
treeb104bdc6db1b05f2babd3c15da66951e34e065a1 /examples/example_5_rpcInterface
parent0fc9ad87ac985ae40b2f205c88f901024967c3ec (diff)
downloadqxmpp-322725554e52c46638481c34ee6f652d173c58f4.tar.gz
cleanup RPC examples to use qxmpp.testX@gmail.com accounts
Diffstat (limited to 'examples/example_5_rpcInterface')
-rw-r--r--examples/example_5_rpcInterface/main.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/example_5_rpcInterface/main.cpp b/examples/example_5_rpcInterface/main.cpp
index 6955e80e..bc493b53 100644
--- a/examples/example_5_rpcInterface/main.cpp
+++ b/examples/example_5_rpcInterface/main.cpp
@@ -32,14 +32,7 @@ int main(int argc, char *argv[])
QXmppLogger::getLogger()->setLoggingType(QXmppLogger::StdoutLogging);
- QXmppConfiguration config;
- config.setUser("server");
- config.setDomain("geiseri.com");
- config.setPassword("Passw0rd");
- config.setHost("jabber.geiseri.com");
- config.setUseSASLAuthentication( false );
-
rpcClient client;
- client.connectToServer(config);
+ client.connectToServer("qxmpp.test1@gmail.com", "qxmpp123");
return a.exec();
}