Diffstat (limited to 'core/pim/today/plugins/addressbook/addresspluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/plugins/addressbook/addresspluginwidget.cpp | 9 |
1 files changed, 4 insertions, 5 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 ) ){ |