-rw-r--r-- | core/pim/today/plugins/addressbook/addresspluginwidget.cpp | 9 | ||||
-rw-r--r-- | core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control | 2 |
2 files changed, 5 insertions, 6 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 @@ | |||
17 | ***************************************************************************/ | 17 | ***************************************************************************/ |
18 | 18 | ||
19 | #include "addresspluginwidget.h" | 19 | #include "addresspluginwidget.h" |
20 | 20 | ||
21 | 21 | #include <opie2/odebug.h> | |
22 | #include <opie2/opimcontact.h> | 22 | #include <opie2/opimcontact.h> |
23 | 23 | ||
24 | #include <qpe/config.h> | 24 | #include <qpe/config.h> |
25 | 25 | ||
@@ -50,9 +50,9 @@ AddressBookPluginWidget::~AddressBookPluginWidget() { | |||
50 | } | 50 | } |
51 | 51 | ||
52 | void AddressBookPluginWidget::refresh( const Opie::OPimContactAccess* ) | 52 | void AddressBookPluginWidget::refresh( const Opie::OPimContactAccess* ) |
53 | { | 53 | { |
54 | qWarning(" AddressBookPluginWidget::Database was changed externally ! "); | 54 | Opie::Core::owarn << " AddressBookPluginWidget::Database was changed externally ! " << oendl; |
55 | m_contactdb->reload(); | 55 | m_contactdb->reload(); |
56 | getAddress(); | 56 | getAddress(); |
57 | } | 57 | } |
58 | 58 | ||
@@ -104,11 +104,10 @@ void AddressBookPluginWidget::getAddress() { | |||
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 | qWarning("Searching from now (%s) until %s ! ", | 108 | Opie::Core::owarn << "Searching from now (" << QDate::currentDate().toString() << ") until " |
109 | QDate::currentDate().toString().latin1(), | 109 | << lookAheadDate.toString() << " ! " << oendl; |
110 | lookAheadDate.toString().latin1() ); | ||
111 | } | 110 | } |
112 | 111 | ||
113 | if ( m_contactdb->hasQuerySettings( Opie::OPimContactAccess::DateDiff ) ){ | 112 | if ( m_contactdb->hasQuerySettings( Opie::OPimContactAccess::DateDiff ) ){ |
114 | 113 | ||
diff --git a/core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control b/core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control index 2fd1435..030d04b 100644 --- a/core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control +++ b/core/pim/today/plugins/addressbook/opie-today-addressbookplugin.control | |||
@@ -3,8 +3,8 @@ Files: plugins/today/libtodayaddressbookplugin.so* | |||
3 | Priority: optional | 3 | Priority: optional |
4 | Section: opie/plugins | 4 | Section: opie/plugins |
5 | Maintainer: Stefan Eilers <eilers.stefan@epost.de> | 5 | Maintainer: Stefan Eilers <eilers.stefan@epost.de> |
6 | Architecture: arm | 6 | Architecture: arm |
7 | Depends: libqte2, opie-today, libopiecore2, libopieui2, libopiepim2, libopiedb2, libqtaux2 | 7 | Depends: libqte2, opie-today, libopiecore2, libopieui2, libopiepim2, libqtaux2 |
8 | Description: Addressbook plugin for Today | 8 | Description: Addressbook plugin for Today |
9 | Displays upcoming Birthdays and Anniversaries | 9 | Displays upcoming Birthdays and Anniversaries |
10 | Version: $QPE_VERSION$EXTRAVERSION | 10 | Version: $QPE_VERSION$EXTRAVERSION |