summaryrefslogtreecommitdiff
path: root/core/pim
authordrw <drw>2004-04-02 21:24:41 (UTC)
committer drw <drw>2004-04-02 21:24:41 (UTC)
commitebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a (patch) (side-by-side diff)
tree2b642af98abf3825cca6aef0f2adfb0934634e76 /core/pim
parent8b67cce78d89fdbb5c2a70f257aaef0e8162d767 (diff)
downloadopie-ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a.zip
opie-ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a.tar.gz
opie-ebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a.tar.bz2
Use ODebug (another 7 down...)
Diffstat (limited to 'core/pim') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/applnkitem.cpp5
-rw-r--r--core/pim/osearch/config.in2
-rw-r--r--core/pim/osearch/datebooksearch.cpp4
-rw-r--r--core/pim/osearch/doclnkitem.cpp6
-rw-r--r--core/pim/osearch/mainwindow.cpp5
-rw-r--r--core/pim/osearch/opie-osearch.control2
-rw-r--r--core/pim/osearch/searchgroup.cpp3
7 files changed, 16 insertions, 11 deletions
diff --git a/core/pim/osearch/applnkitem.cpp b/core/pim/osearch/applnkitem.cpp
index 19e765e..ca54eef 100644
--- a/core/pim/osearch/applnkitem.cpp
+++ b/core/pim/osearch/applnkitem.cpp
@@ -14,2 +14,4 @@
+#include <opie2/odebug.h>
+
#include <qpe/applnk.h>
@@ -17,3 +19,2 @@
-
AppLnkItem::AppLnkItem(OListViewItem* parent, AppLnk *app)
@@ -45,3 +46,3 @@ void AppLnkItem::action( int act )
{
- if (!_app->isValid()) qDebug("INVALID");
+ if (!_app->isValid()) Opie::Core::odebug << "INVALID" << oendl;
if (act == 0) _app->execute();
diff --git a/core/pim/osearch/config.in b/core/pim/osearch/config.in
index ec0da27..71191ce 100644
--- a/core/pim/osearch/config.in
+++ b/core/pim/osearch/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/osearch/datebooksearch.cpp b/core/pim/osearch/datebooksearch.cpp
index eeea54b..af6b194 100644
--- a/core/pim/osearch/datebooksearch.cpp
+++ b/core/pim/osearch/datebooksearch.cpp
@@ -15,2 +15,3 @@
+#include <opie2/odebug.h>
#include <opie2/opimevent.h>
@@ -18,3 +19,2 @@
-
#include <qpe/resource.h>
@@ -42,3 +42,3 @@ DatebookSearch::~DatebookSearch()
{
- qDebug("SAVE DATEBOOK SEARCH CONFIG");
+ Opie::Core::odebug << "SAVE DATEBOOK SEARCH CONFIG" << oendl;
Config cfg( "osearch", Config::User );
diff --git a/core/pim/osearch/doclnkitem.cpp b/core/pim/osearch/doclnkitem.cpp
index df8e856..d908f7c 100644
--- a/core/pim/osearch/doclnkitem.cpp
+++ b/core/pim/osearch/doclnkitem.cpp
@@ -14,2 +14,4 @@
+#include <opie2/odebug.h>
+
#include <qpe/applnk.h>
@@ -63,4 +65,4 @@ void DocLnkItem::action( int act )
{
- qDebug("action %i",act);
- if (!_doc->isValid()) qDebug("INVALID");
+ Opie::Core::odebug << "action" << act << oendl;
+ if (!_doc->isValid()) Opie::Core::odebug << "INVALID" << oendl;
if (act == 0) _doc->execute();
diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp
index 8b6a5df..f329e83 100644
--- a/core/pim/osearch/mainwindow.cpp
+++ b/core/pim/osearch/mainwindow.cpp
@@ -22,2 +22,3 @@
+#include <opie2/odebug.h>
#include <opie2/owait.h>
@@ -231,3 +232,3 @@ void MainWindow::setCurrent(QListViewItem *item)
if (!button) {
- qWarning(" no button for %s", (*acts[i]).latin1() );
+ Opie::Core::owarn << " no button for " << *acts[i] << oendl;
button = new QPushButton( buttonBox );
@@ -285,3 +286,3 @@ void MainWindow::searchStringChanged()
// ss = "\\s"+_searchString+"\\s";
-// qDebug(" set searchString >%s<",ss.latin1());
+// Opie:Core::odebug << " set searchString >" << ss << "<" << oendl;
QRegExp re( ss );
diff --git a/core/pim/osearch/opie-osearch.control b/core/pim/osearch/opie-osearch.control
index 9bf0607..73838b9 100644
--- a/core/pim/osearch/opie-osearch.control
+++ b/core/pim/osearch/opie-osearch.control
@@ -6,3 +6,3 @@ Maintainer: Patrick S. Vogt <tille@handhelds.org>
Architecture: arm
-Depends: task-opie-minimal
+Depends: task-opie-minimal, libopiecore2, libopieui2, libopiepim2
Description: Search through all PIM data
diff --git a/core/pim/osearch/searchgroup.cpp b/core/pim/osearch/searchgroup.cpp
index 9166f72..2ca37cf 100644
--- a/core/pim/osearch/searchgroup.cpp
+++ b/core/pim/osearch/searchgroup.cpp
@@ -14,2 +14,3 @@
+#include <opie2/odebug.h>
#include <opie2/owait.h>
@@ -74,3 +75,3 @@ int SearchGroup::realSearch()
#else
- qDebug("********** NEW_OWAIT *************");
+ Opie:Core::odebug << "********** NEW_OWAIT *************" << oendl;
OWait( "searching" );