From 67cf56e3907fba139e2d1ce612f9df29747b8201 Mon Sep 17 00:00:00 2001 From: drw Date: Fri, 02 Apr 2004 21:31:18 +0000 Subject: Use ODebug (another 2 down...) --- (limited to 'core/pim/today/plugins/addressbook/addresspluginwidget.cpp') 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 @@ -18,7 +18,7 @@ #include "addresspluginwidget.h" - +#include #include #include @@ -51,7 +51,7 @@ 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(); } @@ -105,9 +105,8 @@ void AddressBookPluginWidget::getAddress() { 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 ) ){ -- cgit v0.9.0.2