aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-04-13 11:42:17 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-04-13 11:42:17 +0000
commit2b4e7dac5cd5d7c929787fe2ea2e6c3e0a6e5c9b (patch)
tree8f52f53cdbd77f485e130dfadc92f28b182c5348
parent76e1d99be97a9cf9ebc00bdf73c4ea648f36d076 (diff)
downloadqxmpp-2b4e7dac5cd5d7c929787fe2ea2e6c3e0a6e5c9b.tar.gz
replace obsolete QXmppLogger::LoggingType
-rw-r--r--example/example_1_echoClient/main.cpp2
-rw-r--r--example/example_2_rosterHandling/main.cpp2
-rw-r--r--example/example_3_ibbTransferSource/main.cpp2
-rw-r--r--example/example_4_ibbTransferTarget/main.cpp2
-rw-r--r--example/example_5_rpcInterface/main.cpp2
-rw-r--r--example/example_6_rpcClient/main.cpp2
-rw-r--r--example/example_7_archiveHandling/main.cpp2
7 files changed, 7 insertions, 7 deletions
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");