From ea3708cbc40ebc5f1db70546f0a93e8a23ba967c Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sun, 04 Apr 2004 17:22:44 +0000 Subject: fix odebug usage --- diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 3ddb88d..0a6269e 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -190,7 +190,7 @@ void Today::loadPlugins() { QString path = QPEApplication::qpeDir() + "/plugins/today"; #ifdef Q_OS_MACX - Opie::Core::owarn << "Searching for Plugins in: " << path << oendl; + owarn << "Searching for Plugins in: " << path << oendl; QDir dir( path, "lib*.dylib" ); #else QDir dir( path, "lib*.so" ); @@ -205,10 +205,10 @@ void Today::loadPlugins() { QInterfacePtr iface; QLibrary *lib = new QLibrary( path + "/" + *it ); - Opie::Core::odebug << "querying: " << path + "/" + *it << oendl; + odebug << "querying: " << path + "/" + *it << oendl; if ( lib->queryInterface( IID_TodayPluginInterface, (QUnknownInterface**)&iface ) == QS_OK ) { - Opie::Core::odebug << "accepted: " << path + "/" + *it << oendl; - Opie::Core::odebug << *it << oendl; + odebug << "accepted: " << path + "/" + *it << oendl; + odebug << *it << oendl; TodayPlugin plugin; plugin.library = lib; @@ -222,7 +222,7 @@ void Today::loadPlugins() { config.setGroup("Language"); lang = config.readEntry( "Language", "en" ); - Opie::Core::odebug << "Languages: " << lang << oendl; + odebug << "Languages: " << lang << oendl; QTranslator * trans = new QTranslator( qApp ); QString tfn = QPEApplication::qpeDir()+"/i18n/" + lang + "/" + type + ".qm"; if ( trans->load( tfn ) ) { @@ -273,7 +273,7 @@ void Today::loadPlugins() { pluginList.append( plugin ); } } else { - Opie::Core::odebug << "could not recognize " << path + "/" + *it << oendl; + odebug << "could not recognize " << path + "/" + *it << oendl; delete lib; } @@ -317,10 +317,10 @@ void Today::draw() { plugin = pluginList[i]; if ( plugin.active ) { - //Opie::Core::odebug << plugin.name << " is ACTIVE " << oendl; + //odebug << plugin.name << " is ACTIVE " << oendl; plugin.guiBox->show(); } else { - //Opie::Core::odebug << plugin.name << " is INACTIVE " << oendl; + //odebug << plugin.name << " is INACTIVE " << oendl; plugin.guiBox->hide(); } count++; @@ -397,7 +397,7 @@ void Today::reinitialize() { for ( it = pluginList.begin(); it != pluginList.end(); ++it ) { if ( !(*it).excludeRefresh ) { (*it).guiPart->reinitialize(); - Opie::Core::odebug << "reinit" << oendl; + odebug << "reinit" << oendl; } /* check if plugins is still to be shown */ @@ -451,7 +451,7 @@ void Today::refresh() { for ( it = pluginList.begin(); it != pluginList.end(); ++it ) { if ( !(*it).excludeRefresh ) { (*it).guiPart->refresh(); - Opie::Core::odebug << "refresh" << oendl; + odebug << "refresh" << oendl; } } -- cgit v0.9.0.2