summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-04-04 17:16:33 (UTC)
committer mickeyl <mickeyl>2004-04-04 17:16:33 (UTC)
commit5dc77f8c1ef0b22d208a629ebbb61476909569be (patch) (unidiff)
tree3d89d7b55eb5010783b5e31a48872ff778b81aeb
parent2d87ac4bb0d799d15c7ea96ea444e5de617abdef (diff)
downloadopie-5dc77f8c1ef0b22d208a629ebbb61476909569be.zip
opie-5dc77f8c1ef0b22d208a629ebbb61476909569be.tar.gz
opie-5dc77f8c1ef0b22d208a629ebbb61476909569be.tar.bz2
better use owarn here
Diffstat (more/less context) (ignore 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 5de6b0a..d76a29a 100644
--- a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
+++ b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
@@ -46,17 +46,17 @@ AddressBookPluginWidget::AddressBookPluginWidget( QWidget *parent, const char*
46} 46}
47 47
48AddressBookPluginWidget::~AddressBookPluginWidget() { 48AddressBookPluginWidget::~AddressBookPluginWidget() {
49 delete m_contactdb; 49 delete m_contactdb;
50} 50}
51 51
52void AddressBookPluginWidget::refresh( const Opie::OPimContactAccess* ) 52void AddressBookPluginWidget::refresh( const Opie::OPimContactAccess* )
53{ 53{
54 oerr << " AddressBookPluginWidget::Database was changed externally ! " << oendl; 54 owarn << " AddressBookPluginWidget::Database was changed externally ! " << oendl;
55 m_contactdb->reload(); 55 m_contactdb->reload();
56 getAddress(); 56 getAddress();
57} 57}
58 58
59void AddressBookPluginWidget::reinitialize() { 59void AddressBookPluginWidget::reinitialize() {
60 readConfig(); 60 readConfig();
61 getAddress(); 61 getAddress();
62} 62}
@@ -100,17 +100,17 @@ void AddressBookPluginWidget::getAddress() {
100 addressLabel->setText( output ); 100 addressLabel->setText( output );
101 return; 101 return;
102 } 102 }
103 103
104 // Define the query for birthdays and start search.. 104 // Define the query for birthdays and start search..
105 QDate lookAheadDate = QDate::currentDate().addDays( m_daysLookAhead ); 105 QDate lookAheadDate = QDate::currentDate().addDays( m_daysLookAhead );
106 int ammount = 0; 106 int ammount = 0;
107 if ( m_showBirthdays ){ 107 if ( m_showBirthdays ){
108 oerr << "Searching from now (" << QDate::currentDate().toString() << ") until " 108 owarn << "Searching from now (" << QDate::currentDate().toString() << ") until "
109 << lookAheadDate.toString() << " ! " << oendl; 109 << lookAheadDate.toString() << " ! " << oendl;
110 } 110 }
111 111
112 if ( m_contactdb->hasQuerySettings( Opie::OPimContactAccess::DateDiff ) ){ 112 if ( m_contactdb->hasQuerySettings( Opie::OPimContactAccess::DateDiff ) ){
113 113
114 114
115 Opie::OPimContact querybirthdays; 115 Opie::OPimContact querybirthdays;
116 querybirthdays.setBirthday( lookAheadDate ); 116 querybirthdays.setBirthday( lookAheadDate );