-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 @@ | |||
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2UI && LIBOPIE2PIM | 4 | 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 @@ | |||
20 | 20 | ||
21 | #include <opie2/odebug.h> | ||
22 | |||
21 | #include <qpe/config.h> | 23 | #include <qpe/config.h> |
@@ -190,3 +192,3 @@ void Today::loadPlugins() { | |||
190 | #ifdef Q_OS_MACX | 192 | #ifdef Q_OS_MACX |
191 | qWarning("Searching for Plugins in: %s", path.latin1()); | 193 | Opie::Core::owarn << "Searching for Plugins in: " << path << oendl; |
192 | QDir dir( path, "lib*.dylib" ); | 194 | QDir dir( path, "lib*.dylib" ); |
@@ -205,6 +207,6 @@ void Today::loadPlugins() { | |||
205 | 207 | ||
206 | qDebug( "querying: %s", QString( path + "/" + *it ).latin1() ); | 208 | Opie::Core::odebug << "querying: " << path + "/" + *it << oendl; |
207 | if ( lib->queryInterface( IID_TodayPluginInterface, (QUnknownInterface**)&iface ) == QS_OK ) { | 209 | if ( lib->queryInterface( IID_TodayPluginInterface, (QUnknownInterface**)&iface ) == QS_OK ) { |
208 | qDebug( "accepted: %s", QString( path + "/" + *it ).latin1() ); | 210 | Opie::Core::odebug << "accepted: " << path + "/" + *it << oendl; |
209 | qDebug( QString(*it) ); | 211 | Opie::Core::odebug << *it << oendl; |
210 | 212 | ||
@@ -222,3 +224,3 @@ void Today::loadPlugins() { | |||
222 | 224 | ||
223 | qDebug( "Languages: " + lang ); | 225 | Opie::Core::odebug << "Languages: " << lang << oendl; |
224 | QTranslator * trans = new QTranslator( qApp ); | 226 | QTranslator * trans = new QTranslator( qApp ); |
@@ -273,3 +275,3 @@ void Today::loadPlugins() { | |||
273 | } else { | 275 | } else { |
274 | qDebug( "could not recognize %s", QString( path + "/" + *it ).latin1() ); | 276 | Opie::Core::odebug << "could not recognize " << path + "/" + *it << oendl; |
275 | delete lib; | 277 | delete lib; |
@@ -317,6 +319,6 @@ void Today::draw() { | |||
317 | if ( plugin.active ) { | 319 | if ( plugin.active ) { |
318 | // qDebug( plugin.name + " is ACTIVE " ); | 320 | //Opie::Core::odebug << plugin.name << " is ACTIVE " << oendl; |
319 | plugin.guiBox->show(); | 321 | plugin.guiBox->show(); |
320 | } else { | 322 | } else { |
321 | // qDebug( plugin.name + " is INACTIVE" ); | 323 | //Opie::Core::odebug << plugin.name << " is INACTIVE " << oendl; |
322 | plugin.guiBox->hide(); | 324 | plugin.guiBox->hide(); |
@@ -397,3 +399,3 @@ void Today::reinitialize() { | |||
397 | (*it).guiPart->reinitialize(); | 399 | (*it).guiPart->reinitialize(); |
398 | qDebug( "reinit" ); | 400 | Opie::Core::odebug << "reinit" << oendl; |
399 | } | 401 | } |
@@ -451,3 +453,3 @@ void Today::refresh() { | |||
451 | (*it).guiPart->refresh(); | 453 | (*it).guiPart->refresh(); |
452 | qDebug( "refresh" ); | 454 | Opie::Core::odebug << "refresh" << oendl; |
453 | } | 455 | } |