-rw-r--r-- | libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp b/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp index 0b8e1fe..c0369ef 100644 --- a/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp +++ b/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp | |||
@@ -26,7 +26,7 @@ public: | |||
26 | DemoApp( int argc, char** argv ) : OApplication( argc, argv, "libopie2 debug demo" ) | 26 | DemoApp( int argc, char** argv ) : OApplication( argc, argv, "libopie2 debug demo" ) |
27 | { | 27 | { |
28 | // you have access to your OApplication object via oApp | 28 | // you have access to your OApplication object via oApp |
29 | qDebug( "Process-wide OApplication object @ %0x", oApp ); | 29 | odebug << "Process-wide OApplication object @ " << oApp << "" << oendl; |
30 | 30 | ||
31 | // you have access to global settings via OGlobalSettings | 31 | // you have access to global settings via OGlobalSettings |
32 | int mode = OGlobalSettings::debugMode(); | 32 | int mode = OGlobalSettings::debugMode(); |
@@ -89,7 +89,7 @@ public slots: | |||
89 | void chooseMethod(int method) | 89 | void chooseMethod(int method) |
90 | { | 90 | { |
91 | m = method; | 91 | m = method; |
92 | qDebug( "choosing method: %d", method ); | 92 | odebug << "choosing method: " << method << "" << oendl; |
93 | OConfig* g = OGlobal::config(); | 93 | OConfig* g = OGlobal::config(); |
94 | g->setGroup( "General" ); | 94 | g->setGroup( "General" ); |
95 | g->writeEntry( "debugMode", m ); | 95 | g->writeEntry( "debugMode", m ); |