From 2b4e7dac5cd5d7c929787fe2ea2e6c3e0a6e5c9b Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Tue, 13 Apr 2010 11:42:17 +0000 Subject: replace obsolete QXmppLogger::LoggingType --- example/example_1_echoClient/main.cpp | 2 +- example/example_2_rosterHandling/main.cpp | 2 +- example/example_3_ibbTransferSource/main.cpp | 2 +- example/example_4_ibbTransferTarget/main.cpp | 2 +- example/example_5_rpcInterface/main.cpp | 2 +- example/example_6_rpcClient/main.cpp | 2 +- example/example_7_archiveHandling/main.cpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'example') diff --git a/example/example_1_echoClient/main.cpp b/example/example_1_echoClient/main.cpp index 0cbfae17..30ede524 100644 --- a/example/example_1_echoClient/main.cpp +++ b/example/example_1_echoClient/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); - QXmppLogger::getLogger()->setLoggingType(QXmppLogger::STDOUT); + QXmppLogger::getLogger()->setLoggingType(QXmppLogger::StdoutLogging); echoClient client; client.connectToServer("talk.google.com", "qxmpp.test1", "qxmpp123", "gmail.com"); diff --git a/example/example_2_rosterHandling/main.cpp b/example/example_2_rosterHandling/main.cpp index 7c82a5c6..fff99e56 100644 --- a/example/example_2_rosterHandling/main.cpp +++ b/example/example_2_rosterHandling/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); - QXmppLogger::getLogger()->setLoggingType(QXmppLogger::FILE); + QXmppLogger::getLogger()->setLoggingType(QXmppLogger::FileLogging); xmppClient client; client.connectToServer("talk.google.com", "qxmpp.test1@gmail.com", "qxmpp123"); diff --git a/example/example_3_ibbTransferSource/main.cpp b/example/example_3_ibbTransferSource/main.cpp index ea69cce3..3d176712 100644 --- a/example/example_3_ibbTransferSource/main.cpp +++ b/example/example_3_ibbTransferSource/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); - QXmppLogger::getLogger()->setLoggingType(QXmppLogger::STDOUT); + QXmppLogger::getLogger()->setLoggingType(QXmppLogger::StdoutLogging); ibbClient client; client.getConfiguration().setUseSASLAuthentication( false ); diff --git a/example/example_4_ibbTransferTarget/main.cpp b/example/example_4_ibbTransferTarget/main.cpp index 5cf19ade..927c3fe5 100644 --- a/example/example_4_ibbTransferTarget/main.cpp +++ b/example/example_4_ibbTransferTarget/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); - QXmppLogger::getLogger()->setLoggingType(QXmppLogger::STDOUT); + QXmppLogger::getLogger()->setLoggingType(QXmppLogger::StdoutLogging); IbbTransferTarget client; client.getConfiguration().setUseSASLAuthentication( false ); diff --git a/example/example_5_rpcInterface/main.cpp b/example/example_5_rpcInterface/main.cpp index f6dd6785..14445caa 100644 --- a/example/example_5_rpcInterface/main.cpp +++ b/example/example_5_rpcInterface/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); - QXmppLogger::getLogger()->setLoggingType(QXmppLogger::STDOUT); + QXmppLogger::getLogger()->setLoggingType(QXmppLogger::StdoutLogging); rpcClient client; client.getConfiguration().setUseSASLAuthentication( false ); diff --git a/example/example_6_rpcClient/main.cpp b/example/example_6_rpcClient/main.cpp index 35f1dd8d..126339ee 100644 --- a/example/example_6_rpcClient/main.cpp +++ b/example/example_6_rpcClient/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); - QXmppLogger::getLogger()->setLoggingType(QXmppLogger::STDOUT); + QXmppLogger::getLogger()->setLoggingType(QXmppLogger::StdoutLogging); rpcClient client; client.getConfiguration().setUseSASLAuthentication( false ); diff --git a/example/example_7_archiveHandling/main.cpp b/example/example_7_archiveHandling/main.cpp index 7c82a5c6..fff99e56 100644 --- a/example/example_7_archiveHandling/main.cpp +++ b/example/example_7_archiveHandling/main.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); - QXmppLogger::getLogger()->setLoggingType(QXmppLogger::FILE); + QXmppLogger::getLogger()->setLoggingType(QXmppLogger::FileLogging); xmppClient client; client.connectToServer("talk.google.com", "qxmpp.test1@gmail.com", "qxmpp123"); -- cgit v1.2.3