summaryrefslogtreecommitdiff
authordrw <drw>2004-04-02 21:31:18 (UTC)
committer drw <drw>2004-04-02 21:31:18 (UTC)
commit67cf56e3907fba139e2d1ce612f9df29747b8201 (patch) (side-by-side diff)
tree6ac96d3dda59f675f0c60c336a80e82d0ea67ed6
parentebe03c3cd5d2bc1e1ae94f123da7ab27b2188f6a (diff)
downloadopie-67cf56e3907fba139e2d1ce612f9df29747b8201.zip
opie-67cf56e3907fba139e2d1ce612f9df29747b8201.tar.gz
opie-67cf56e3907fba139e2d1ce612f9df29747b8201.tar.bz2
Use ODebug (another 2 down...)
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginwidget.cpp9
-rw-r--r--core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control2
2 files changed, 5 insertions, 6 deletions
diff --git a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
index ea387d6..b48d4a7 100644
--- a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
+++ b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
@@ -17,9 +17,9 @@
***************************************************************************/
#include "addresspluginwidget.h"
-
+#include <opie2/odebug.h>
#include <opie2/opimcontact.h>
#include <qpe/config.h>
@@ -50,9 +50,9 @@ AddressBookPluginWidget::~AddressBookPluginWidget() {
}
void AddressBookPluginWidget::refresh( const Opie::OPimContactAccess* )
{
- qWarning(" AddressBookPluginWidget::Database was changed externally ! ");
+ Opie::Core::owarn << " AddressBookPluginWidget::Database was changed externally ! " << oendl;
m_contactdb->reload();
getAddress();
}
@@ -104,11 +104,10 @@ void AddressBookPluginWidget::getAddress() {
// Define the query for birthdays and start search..
QDate lookAheadDate = QDate::currentDate().addDays( m_daysLookAhead );
int ammount = 0;
if ( m_showBirthdays ){
- qWarning("Searching from now (%s) until %s ! ",
- QDate::currentDate().toString().latin1(),
- lookAheadDate.toString().latin1() );
+ Opie::Core::owarn << "Searching from now (" << QDate::currentDate().toString() << ") until "
+ << lookAheadDate.toString() << " ! " << oendl;
}
if ( m_contactdb->hasQuerySettings( Opie::OPimContactAccess::DateDiff ) ){
diff --git a/core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control b/core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control
index 2fd1435..030d04b 100644
--- a/core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control
+++ b/core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control
@@ -3,8 +3,8 @@ Files: plugins/today/libtodayaddressbookplugin.so*
Priority: optional
Section: opie/plugins
Maintainer: Stefan Eilers <eilers.stefan@epost.de>
Architecture: arm
-Depends: libqte2, opie-today, libopiecore2, libopieui2, libopiepim2, libopiedb2, libqtaux2
+Depends: libqte2, opie-today, libopiecore2, libopieui2, libopiepim2, libqtaux2
Description: Addressbook plugin for Today
Displays upcoming Birthdays and Anniversaries
Version: $QPE_VERSION$EXTRAVERSION