-rw-r--r-- | core/pim/datebook/config.in | 2 | ||||
-rw-r--r-- | core/pim/datebook/datebook.cpp | 10 | ||||
-rw-r--r-- | core/pim/datebook/datebook.pro | 12 | ||||
-rw-r--r-- | core/pim/datebook/datebookweekheaderimpl.cpp | 11 | ||||
-rw-r--r-- | core/pim/datebook/datebookweeklst.cpp | 7 | ||||
-rw-r--r-- | core/pim/datebook/dateentryimpl.cpp | 10 | ||||
-rw-r--r-- | core/pim/datebook/opie-datebook.control | 2 |
7 files changed, 31 insertions, 23 deletions
diff --git a/core/pim/datebook/config.in b/core/pim/datebook/config.in index d1dd44f..4658f3c 100644 --- a/core/pim/datebook/config.in +++ b/core/pim/datebook/config.in | |||
@@ -2,3 +2,3 @@ | |||
2 | boolean "opie-datebook (a datebook/appointment manager)" | 2 | boolean "opie-datebook (a datebook/appointment manager)" |
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2UI | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE && LIBOPIE2UI && LIBOPIE2PIM |
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index 3934411..3d1bc0c 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp | |||
@@ -30,4 +30,6 @@ | |||
30 | #include "dateentryimpl.h" | 30 | #include "dateentryimpl.h" |
31 | 31 | ||
32 | #include <opie2/odebug.h> | ||
33 | |||
32 | #include <qpe/datebookmonth.h> | 34 | #include <qpe/datebookmonth.h> |
33 | #include <qpe/qpeapplication.h> | 35 | #include <qpe/qpeapplication.h> |
@@ -38,5 +40,4 @@ | |||
38 | #include <qpe/resource.h> | 40 | #include <qpe/resource.h> |
39 | #include <qpe/sound.h> | 41 | #include <qpe/sound.h> |
40 | #include <qtoolbar.h> | ||
41 | #include <qpe/tzselect.h> | 42 | #include <qpe/tzselect.h> |
42 | 43 | ||
@@ -47,4 +48,5 @@ | |||
47 | #include <qtimer.h> | 48 | #include <qtimer.h> |
48 | #include <qtl.h> | 49 | #include <qtl.h> |
50 | #include <qtoolbar.h> | ||
49 | #include <qwidgetstack.h> | 51 | #include <qwidgetstack.h> |
50 | 52 | ||
@@ -71,5 +73,5 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) | |||
71 | t.start(); | 73 | t.start(); |
72 | db = new DateBookDBHack; | 74 | db = new DateBookDBHack; |
73 | qDebug("loading db t=%d", t.elapsed() ); | 75 | Opie::Core::odebug << "loading db t=" << t.elapsed() << oendl; |
74 | loadSettings(); | 76 | loadSettings(); |
75 | setCaption( tr("Calendar") ); | 77 | setCaption( tr("Calendar") ); |
@@ -175,5 +177,5 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) | |||
175 | #endif | 177 | #endif |
176 | 178 | ||
177 | qDebug("done t=%d", t.elapsed() ); | 179 | Opie::Core::odebug << "done t=" << t.elapsed() << oendl; |
178 | 180 | ||
179 | connect( qApp, SIGNAL( flush() ), this, SLOT( flush() ) ); | 181 | connect( qApp, SIGNAL( flush() ), this, SLOT( flush() ) ); |
@@ -901,5 +903,5 @@ static const char * beamfile = "/tmp/obex/event.vcs"; | |||
901 | void DateBook::beamEvent( const Event &e ) | 903 | void DateBook::beamEvent( const Event &e ) |
902 | { | 904 | { |
903 | qDebug("trying to beamn"); | 905 | Opie::Core::odebug << "trying to beam" << oendl; |
904 | unlink( beamfile ); // delete if exists | 906 | unlink( beamfile ); // delete if exists |
905 | mkdir("/tmp/obex/", 0755); | 907 | mkdir("/tmp/obex/", 0755); |
diff --git a/core/pim/datebook/datebook.pro b/core/pim/datebook/datebook.pro index bf9a2cc..a79c25c 100644 --- a/core/pim/datebook/datebook.pro +++ b/core/pim/datebook/datebook.pro | |||
@@ -1,5 +1,5 @@ | |||
1 | CONFIG += qt warn_on quick-app | 1 | CONFIG += qt warn_on quick-app |
2 | HEADERS= datebookday.h \ | 2 | HEADERS= datebookday.h \ |
3 | datebook.h \ | 3 | datebook.h \ |
4 | dateentryimpl.h \ | 4 | dateentryimpl.h \ |
5 | datebookdayheaderimpl.h \ | 5 | datebookdayheaderimpl.h \ |
@@ -12,5 +12,5 @@ HEADERS = datebookday.h \ | |||
12 | onoteedit.h \ | 12 | onoteedit.h \ |
13 | datebookdayallday.h \ | 13 | datebookdayallday.h \ |
14 | namespace_hack.h | 14 | namespace_hack.h |
15 | SOURCES= main.cpp \ | 15 | SOURCES= main.cpp \ |
16 | datebookday.cpp \ | 16 | datebookday.cpp \ |
@@ -25,10 +25,10 @@ SOURCES = main.cpp \ | |||
25 | noteentryimpl.cpp \ | 25 | noteentryimpl.cpp \ |
26 | onoteedit.cpp \ | 26 | onoteedit.cpp \ |
27 | datebookdayallday.cpp | 27 | datebookdayallday.cpp |
28 | INTERFACES= dateentry.ui \ | 28 | INTERFACES= dateentry.ui \ |
29 | datebookdayheader.ui \ | 29 | datebookdayheader.ui \ |
30 | datebookweekheader.ui \ | 30 | datebookweekheader.ui \ |
31 | datebookweeklstheader.ui \ | 31 | datebookweeklstheader.ui \ |
32 | datebookweeklstdayhdr.ui \ | 32 | datebookweeklstdayhdr.ui \ |
33 | repeatentrybase.ui \ | 33 | repeatentrybase.ui \ |
34 | datebooksettingsbase.ui \ | 34 | datebooksettingsbase.ui \ |
@@ -36,5 +36,5 @@ INTERFACES = dateentry.ui \ | |||
36 | INCLUDEPATH += $(OPIEDIR)/include | 36 | INCLUDEPATH += $(OPIEDIR)/include |
37 | DEPENDPATH+= $(OPIEDIR)/include | 37 | DEPENDPATH+= $(OPIEDIR)/include |
38 | LIBS += -lqpe -lopieui2 -lopiecore2 | 38 | LIBS += -lqpe -lopieui2 -lopiecore2 -lopiepim2 |
39 | TARGET = datebook | 39 | TARGET = datebook |
40 | 40 | ||
diff --git a/core/pim/datebook/datebookweekheaderimpl.cpp b/core/pim/datebook/datebookweekheaderimpl.cpp index c237b2d..123a478 100644 --- a/core/pim/datebook/datebookweekheaderimpl.cpp +++ b/core/pim/datebook/datebookweekheaderimpl.cpp | |||
@@ -20,4 +20,7 @@ | |||
20 | #include "datebookweekheaderimpl.h" | 20 | #include "datebookweekheaderimpl.h" |
21 | #include "datebookweek.h" | 21 | #include "datebookweek.h" |
22 | |||
23 | #include <opie2/odebug.h> | ||
24 | |||
22 | #include <qpe/resource.h> | 25 | #include <qpe/resource.h> |
23 | #include <qpe/datebookmonth.h> | 26 | #include <qpe/datebookmonth.h> |
@@ -67,20 +70,20 @@ void DateBookWeekHeader::pickDate() | |||
67 | void DateBookWeekHeader::nextMonth() | 70 | void DateBookWeekHeader::nextMonth() |
68 | { | 71 | { |
69 | qWarning("nextMonth() " ); | 72 | Opie::Core::owarn << "nextMonth()" << oendl; |
70 | setDate(date.addDays(28)); | 73 | setDate(date.addDays(28)); |
71 | } | 74 | } |
72 | void DateBookWeekHeader::prevMonth() | 75 | void DateBookWeekHeader::prevMonth() |
73 | { | 76 | { |
74 | qWarning("prevMonth() " ); | 77 | Opie::Core::owarn << "prevMonth()" << oendl; |
75 | setDate(date.addDays(-28)); | 78 | setDate(date.addDays(-28)); |
76 | } | 79 | } |
77 | void DateBookWeekHeader::nextWeek() | 80 | void DateBookWeekHeader::nextWeek() |
78 | { | 81 | { |
79 | qWarning("nextWeek() " ); | 82 | Opie::Core::owarn << "nextWeek()" << oendl; |
80 | setDate(date.addDays(7)); | 83 | setDate(date.addDays(7)); |
81 | } | 84 | } |
82 | void DateBookWeekHeader::prevWeek() | 85 | void DateBookWeekHeader::prevWeek() |
83 | { | 86 | { |
84 | qWarning("prevWeek() "); | 87 | Opie::Core::owarn << "prevWeek()" << oendl; |
85 | setDate(date.addDays(-7)); | 88 | setDate(date.addDays(-7)); |
86 | } | 89 | } |
diff --git a/core/pim/datebook/datebookweeklst.cpp b/core/pim/datebook/datebookweeklst.cpp index abaf3ea..de74d46 100644 --- a/core/pim/datebook/datebookweeklst.cpp +++ b/core/pim/datebook/datebookweeklst.cpp | |||
@@ -2,7 +2,8 @@ | |||
2 | #include "datebookweeklst.h" | 2 | #include "datebookweeklst.h" |
3 | 3 | ||
4 | |||
5 | #include "datebook.h" | 4 | #include "datebook.h" |
6 | 5 | ||
6 | #include <opie2/odebug.h> | ||
7 | |||
7 | #include <qpe/datebookmonth.h> | 8 | #include <qpe/datebookmonth.h> |
8 | #include <qpe/config.h> | 9 | #include <qpe/config.h> |
@@ -160,5 +161,5 @@ DateBookWeekLstEvent::DateBookWeekLstEvent(const EffectiveEvent &ev, | |||
160 | QString s,start,middle,end,day; | 161 | QString s,start,middle,end,day; |
161 | 162 | ||
162 | qDebug("weeklistviewconfig=%d",weeklistviewconfig); | 163 | Opie::Core::odebug << "weeklistviewconfig=" << weeklistviewconfig << oendl; |
163 | if(weeklistviewconfig==NONE) {// No times displayed. | 164 | if(weeklistviewconfig==NONE) {// No times displayed. |
164 | // start.sprintf("%.2d:%.2d-",ev.start().hour(),ev.start().minute()); | 165 | // start.sprintf("%.2d:%.2d-",ev.start().hour(),ev.start().minute()); |
@@ -209,5 +210,5 @@ DateBookWeekLstView::DateBookWeekLstView(QValueList<EffectiveEvent> &ev, | |||
209 | config.setGroup("Main"); | 210 | config.setGroup("Main"); |
210 | int weeklistviewconfig=config.readNumEntry("weeklistviewconfig", NORMAL); | 211 | int weeklistviewconfig=config.readNumEntry("weeklistviewconfig", NORMAL); |
211 | qDebug("Read weeklistviewconfig: %d",weeklistviewconfig); | 212 | Opie::Core::odebug << "weeklistviewconfig: " << weeklistviewconfig << oendl; |
212 | 213 | ||
213 | bStartOnMonday=onM; | 214 | bStartOnMonday=onM; |
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp index 7b4716f..42bdbe2 100644 --- a/core/pim/datebook/dateentryimpl.cpp +++ b/core/pim/datebook/dateentryimpl.cpp | |||
@@ -23,4 +23,7 @@ | |||
23 | #include "repeatentry.h" | 23 | #include "repeatentry.h" |
24 | 24 | ||
25 | #include <opie2/odebug.h> | ||
26 | #include <opie2/otimepicker.h> | ||
27 | |||
25 | #include <qpe/qpeapplication.h> | 28 | #include <qpe/qpeapplication.h> |
26 | #include <qpe/categoryselect.h> | 29 | #include <qpe/categoryselect.h> |
@@ -31,5 +34,4 @@ | |||
31 | #include <qspinbox.h> | 34 | #include <qspinbox.h> |
32 | 35 | ||
33 | #include <opie2/otimepicker.h> | ||
34 | #include "onoteedit.h" | 36 | #include "onoteedit.h" |
35 | 37 | ||
@@ -430,5 +432,5 @@ Event DateEntry::event() | |||
430 | time_t start_utc, end_utc; | 432 | time_t start_utc, end_utc; |
431 | 433 | ||
432 | // qDebug( "tz: %s", timezone->currentZone().latin1() ); | 434 | //Opie::Core::odebug << "tz: " << timezone->currentZone() << oendl; |
433 | 435 | ||
434 | // get real timezone | 436 | // get real timezone |
@@ -438,5 +440,5 @@ Event DateEntry::event() | |||
438 | // set timezone | 440 | // set timezone |
439 | if ( setenv( "TZ", timezone->currentZone(), true ) != 0 ) | 441 | if ( setenv( "TZ", timezone->currentZone(), true ) != 0 ) |
440 | qWarning( "There was a problem setting the timezone." ); | 442 | Opie::Core::owarn << "There was a problem setting the timezone." << oendl; |
441 | 443 | ||
442 | // convert to UTC based on selected TZ (calling tzset internally) | 444 | // convert to UTC based on selected TZ (calling tzset internally) |
@@ -448,5 +450,5 @@ Event DateEntry::event() | |||
448 | if ( !realTZ.isNull() ) | 450 | if ( !realTZ.isNull() ) |
449 | if ( setenv( "TZ", realTZ, true ) != 0 ) | 451 | if ( setenv( "TZ", realTZ, true ) != 0 ) |
450 | qWarning( "There was a problem setting the timezone." ); | 452 | Opie::Core::owarn << "There was a problem setting the timezone." << oendl; |
451 | 453 | ||
452 | // convert UTC to local time (calling tzset internally) | 454 | // convert UTC to local time (calling tzset internally) |
diff --git a/core/pim/datebook/opie-datebook.control b/core/pim/datebook/opie-datebook.control index 730b09d..acf28a7 100644 --- a/core/pim/datebook/opie-datebook.control +++ b/core/pim/datebook/opie-datebook.control | |||
@@ -6,5 +6,5 @@ Conflicts: qpe-tkccalendar | |||
6 | Maintainer: Holger 'Zecke' Freyther <zecke@handhelds.org> | 6 | Maintainer: Holger 'Zecke' Freyther <zecke@handhelds.org> |
7 | Architecture: arm | 7 | Architecture: arm |
8 | Depends: task-opie-minimal, libopiecore2, libopieui2,libopiepim2, opie-pics | 8 | Depends: task-opie-minimal, libopiecore2, libopieui2, libopiepim2, opie-pics |
9 | Description: A datebook/appointment manager | 9 | Description: A datebook/appointment manager |
10 | A datebook/appointment manager for the Opie environment. | 10 | A datebook/appointment manager for the Opie environment. |