summaryrefslogtreecommitdiff
authordrw <drw>2004-04-02 21:41:10 (UTC)
committer drw <drw>2004-04-02 21:41:10 (UTC)
commit6f335843b89f60fe009b43a4134e9b3753fff974 (patch) (side-by-side diff)
tree5734d3080e664131cc575038d59858f1b0633af4
parent67cf56e3907fba139e2d1ce612f9df29747b8201 (diff)
downloadopie-6f335843b89f60fe009b43a4134e9b3753fff974.zip
opie-6f335843b89f60fe009b43a4134e9b3753fff974.tar.gz
opie-6f335843b89f60fe009b43a4134e9b3753fff974.tar.bz2
Use ODebug (another 10 down...)
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/config.in2
-rw-r--r--core/pim/today/today.cpp22
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;
}