-rw-r--r-- | core/pim/today/config.in | 2 | ||||
-rw-r--r-- | core/pim/today/today.cpp | 22 |
2 files changed, 13 insertions, 11 deletions
diff --git a/core/pim/today/config.in b/core/pim/today/config.in index c4377e4..c663fc1 100644 --- a/core/pim/today/config.in +++ b/core/pim/today/config.in @@ -3,2 +3,2 @@ default "y" - depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2UI && LIBOPIE2PIM + depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE && LIBOPIE2UI && LIBOPIE2PIM diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index ebcd2dd..3ddb88d 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -20,2 +20,4 @@ +#include <opie2/odebug.h> + #include <qpe/config.h> @@ -190,3 +192,3 @@ void Today::loadPlugins() { #ifdef Q_OS_MACX - qWarning("Searching for Plugins in: %s", path.latin1()); + Opie::Core::owarn << "Searching for Plugins in: " << path << oendl; QDir dir( path, "lib*.dylib" ); @@ -205,6 +207,6 @@ void Today::loadPlugins() { - qDebug( "querying: %s", QString( path + "/" + *it ).latin1() ); + Opie::Core::odebug << "querying: " << path + "/" + *it << oendl; if ( lib->queryInterface( IID_TodayPluginInterface, (QUnknownInterface**)&iface ) == QS_OK ) { - qDebug( "accepted: %s", QString( path + "/" + *it ).latin1() ); - qDebug( QString(*it) ); + Opie::Core::odebug << "accepted: " << path + "/" + *it << oendl; + Opie::Core::odebug << *it << oendl; @@ -222,3 +224,3 @@ void Today::loadPlugins() { - qDebug( "Languages: " + lang ); + Opie::Core::odebug << "Languages: " << lang << oendl; QTranslator * trans = new QTranslator( qApp ); @@ -273,3 +275,3 @@ void Today::loadPlugins() { } else { - qDebug( "could not recognize %s", QString( path + "/" + *it ).latin1() ); + Opie::Core::odebug << "could not recognize " << path + "/" + *it << oendl; delete lib; @@ -317,6 +319,6 @@ void Today::draw() { if ( plugin.active ) { - // qDebug( plugin.name + " is ACTIVE " ); + //Opie::Core::odebug << plugin.name << " is ACTIVE " << oendl; plugin.guiBox->show(); } else { - // qDebug( plugin.name + " is INACTIVE" ); + //Opie::Core::odebug << plugin.name << " is INACTIVE " << oendl; plugin.guiBox->hide(); @@ -397,3 +399,3 @@ void Today::reinitialize() { (*it).guiPart->reinitialize(); - qDebug( "reinit" ); + Opie::Core::odebug << "reinit" << oendl; } @@ -451,3 +453,3 @@ void Today::refresh() { (*it).guiPart->refresh(); - qDebug( "refresh" ); + Opie::Core::odebug << "refresh" << oendl; } |