author | mickeyl <mickeyl> | 2004-04-04 17:16:33 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-04 17:16:33 (UTC) |
commit | 5dc77f8c1ef0b22d208a629ebbb61476909569be (patch) (side-by-side diff) | |
tree | 3d89d7b55eb5010783b5e31a48872ff778b81aeb | |
parent | 2d87ac4bb0d799d15c7ea96ea444e5de617abdef (diff) | |
download | opie-5dc77f8c1ef0b22d208a629ebbb61476909569be.zip opie-5dc77f8c1ef0b22d208a629ebbb61476909569be.tar.gz opie-5dc77f8c1ef0b22d208a629ebbb61476909569be.tar.bz2 |
better use owarn here
-rw-r--r-- | core/pim/today/plugins/addressbook/addresspluginwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp index 5de6b0a..d76a29a 100644 --- a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp +++ b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp @@ -42,25 +42,25 @@ AddressBookPluginWidget::AddressBookPluginWidget( QWidget *parent, const char* readConfig(); getAddress(); } AddressBookPluginWidget::~AddressBookPluginWidget() { delete m_contactdb; } void AddressBookPluginWidget::refresh( const Opie::OPimContactAccess* ) { - oerr << " AddressBookPluginWidget::Database was changed externally ! " << oendl; + owarn << " AddressBookPluginWidget::Database was changed externally ! " << oendl; m_contactdb->reload(); getAddress(); } void AddressBookPluginWidget::reinitialize() { readConfig(); getAddress(); } void AddressBookPluginWidget::readConfig() { Config cfg( "todayaddressplugin" ); cfg.setGroup( "config" ); @@ -96,25 +96,25 @@ void AddressBookPluginWidget::getAddress() { // Check whether the database provide the search option.. if ( !m_contactdb->hasQuerySettings( Opie::OPimContactAccess::DateDiff ) ){ // Libopie seems to be old.. output = QObject::tr( "Database does not provide this search query ! Please upgrade libOpie !<br>" ); addressLabel->setText( output ); return; } // Define the query for birthdays and start search.. QDate lookAheadDate = QDate::currentDate().addDays( m_daysLookAhead ); int ammount = 0; if ( m_showBirthdays ){ - oerr << "Searching from now (" << QDate::currentDate().toString() << ") until " + owarn << "Searching from now (" << QDate::currentDate().toString() << ") until " << lookAheadDate.toString() << " ! " << oendl; } if ( m_contactdb->hasQuerySettings( Opie::OPimContactAccess::DateDiff ) ){ Opie::OPimContact querybirthdays; querybirthdays.setBirthday( lookAheadDate ); m_list = m_contactdb->queryByExample( querybirthdays, Opie::OPimContactAccess::DateDiff ); if ( m_list.count() > 0 ){ |