summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-04-04 17:15:07 (UTC)
committer mickeyl <mickeyl>2004-04-04 17:15:07 (UTC)
commit2d87ac4bb0d799d15c7ea96ea444e5de617abdef (patch) (side-by-side diff)
treeb55dd8701350da302e11ca6aad174a57fd3aa53b
parentb49dbce74737411736d63358319e709d1af810bb (diff)
downloadopie-2d87ac4bb0d799d15c7ea96ea444e5de617abdef.zip
opie-2d87ac4bb0d799d15c7ea96ea444e5de617abdef.tar.gz
opie-2d87ac4bb0d799d15c7ea96ea444e5de617abdef.tar.bz2
fix odebug usage
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginwidget.cpp4
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 b48d4a7..5de6b0a 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* )
{
- Opie::Core::owarn << " AddressBookPluginWidget::Database was changed externally ! " << oendl;
+ oerr << " 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 ){
- Opie::Core::owarn << "Searching from now (" << QDate::currentDate().toString() << ") until "
+ oerr << "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 ){