summaryrefslogtreecommitdiff
path: root/libopie2/examples/opiecore
authorar <ar>2004-06-03 18:50:11 (UTC)
committer ar <ar>2004-06-03 18:50:11 (UTC)
commitf9d940da940c8d42dc072f60ad72e69025650cf8 (patch) (side-by-side diff)
treed27646ceea53d25f68bc53f770424a3b3c434994 /libopie2/examples/opiecore
parent75922e8dd0f7390932471b5a611d94076a8472f3 (diff)
downloadopie-f9d940da940c8d42dc072f60ad72e69025650cf8.zip
opie-f9d940da940c8d42dc072f60ad72e69025650cf8.tar.gz
opie-f9d940da940c8d42dc072f60ad72e69025650cf8.tar.bz2
- convert to odebug framework
Diffstat (limited to 'libopie2/examples/opiecore') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp4
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:
DemoApp( int argc, char** argv ) : OApplication( argc, argv, "libopie2 debug demo" )
{
// you have access to your OApplication object via oApp
- qDebug( "Process-wide OApplication object @ %0x", oApp );
+ odebug << "Process-wide OApplication object @ " << oApp << "" << oendl;
// you have access to global settings via OGlobalSettings
int mode = OGlobalSettings::debugMode();
@@ -89,7 +89,7 @@ public slots:
void chooseMethod(int method)
{
m = method;
- qDebug( "choosing method: %d", method );
+ odebug << "choosing method: " << method << "" << oendl;
OConfig* g = OGlobal::config();
g->setGroup( "General" );
g->writeEntry( "debugMode", m );