author | mickeyl <mickeyl> | 2004-04-04 17:22:44 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-04 17:22:44 (UTC) |
commit | ea3708cbc40ebc5f1db70546f0a93e8a23ba967c (patch) (side-by-side diff) | |
tree | 7262b5c61f96db0062d8e079dbb50d9ad5f2045e | |
parent | 5dc77f8c1ef0b22d208a629ebbb61476909569be (diff) | |
download | opie-ea3708cbc40ebc5f1db70546f0a93e8a23ba967c.zip opie-ea3708cbc40ebc5f1db70546f0a93e8a23ba967c.tar.gz opie-ea3708cbc40ebc5f1db70546f0a93e8a23ba967c.tar.bz2 |
fix odebug usage
-rw-r--r-- | core/pim/today/today.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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 @@ -189,9 +189,9 @@ 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" ); #endif @@ -204,12 +204,12 @@ void Today::loadPlugins() { for ( it = list.begin(); it != list.end(); ++it ) { QInterfacePtr<TodayPluginInterface> 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; plugin.iface = iface; @@ -221,9 +221,9 @@ void Today::loadPlugins() { Config config("locale"); 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 ) ) { qApp->installTranslator( trans ); @@ -272,9 +272,9 @@ void Today::loadPlugins() { else if ( !m_allApplets.contains( plugin.name ) ) { pluginList.append( plugin ); } } else { - Opie::Core::odebug << "could not recognize " << path + "/" + *it << oendl; + odebug << "could not recognize " << path + "/" + *it << oendl; delete lib; } } @@ -316,12 +316,12 @@ void Today::draw() { for ( uint i = 0; i < pluginList.count(); i++ ) { 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++; } @@ -396,9 +396,9 @@ void Today::reinitialize() { QValueList<TodayPlugin>::Iterator it; 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 */ if ( m_excludeApplets.grep( (*it).name ).isEmpty() ) { @@ -450,9 +450,9 @@ void Today::refresh() { QValueList<TodayPlugin>::Iterator it; for ( it = pluginList.begin(); it != pluginList.end(); ++it ) { if ( !(*it).excludeRefresh ) { (*it).guiPart->refresh(); - Opie::Core::odebug << "refresh" << oendl; + odebug << "refresh" << oendl; } } DateLabel->setText( QString( "<font color=#FFFFFF>" + TimeString::longDateString( QDate::currentDate() ) + "</font>" ) ); |