From f9d940da940c8d42dc072f60ad72e69025650cf8 Mon Sep 17 00:00:00 2001 From: ar Date: Thu, 03 Jun 2004 18:50:11 +0000 Subject: - convert to odebug framework --- (limited to 'libopie2/examples/opiecore') 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 ); -- cgit v0.9.0.2