-rw-r--r-- | core/pim/datebook/datebook.pro | 2 | ||||
-rw-r--r-- | core/pim/datebook/datebookweeklst.cpp | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/core/pim/datebook/datebook.pro b/core/pim/datebook/datebook.pro index 2edbf99..088ae3e 100644 --- a/core/pim/datebook/datebook.pro +++ b/core/pim/datebook/datebook.pro | |||
@@ -4,13 +4,12 @@ DESTDIR = $(OPIEDIR)/bin | |||
4 | 4 | ||
5 | HEADERS= datebookday.h \ | 5 | HEADERS= datebookday.h \ |
6 | datebook.h \ | 6 | datebook.h \ |
7 | dateentryimpl.h \ | 7 | dateentryimpl.h \ |
8 | datebookdayheaderimpl.h \ | 8 | datebookdayheaderimpl.h \ |
9 | datebooksettings.h \ | 9 | datebooksettings.h \ |
10 | datebooksettingsbase.h \ | ||
11 | datebookweek.h \ | 10 | datebookweek.h \ |
12 | datebookweeklst.h \ | 11 | datebookweeklst.h \ |
13 | datebookweekheaderimpl.h \ | 12 | datebookweekheaderimpl.h \ |
14 | repeatentry.h \ | 13 | repeatentry.h \ |
15 | timepicker.h \ | 14 | timepicker.h \ |
16 | noteentryimpl.h \ | 15 | noteentryimpl.h \ |
@@ -18,13 +17,12 @@ HEADERS = datebookday.h \ | |||
18 | 17 | ||
19 | SOURCES= main.cpp \ | 18 | SOURCES= main.cpp \ |
20 | datebookday.cpp \ | 19 | datebookday.cpp \ |
21 | datebook.cpp \ | 20 | datebook.cpp \ |
22 | dateentryimpl.cpp \ | 21 | dateentryimpl.cpp \ |
23 | datebookdayheaderimpl.cpp \ | 22 | datebookdayheaderimpl.cpp \ |
24 | datebooksettingsbase.cpp \ | ||
25 | datebooksettings.cpp \ | 23 | datebooksettings.cpp \ |
26 | datebookweek.cpp \ | 24 | datebookweek.cpp \ |
27 | datebookweeklst.cpp \ | 25 | datebookweeklst.cpp \ |
28 | datebookweekheaderimpl.cpp \ | 26 | datebookweekheaderimpl.cpp \ |
29 | repeatentry.cpp \ | 27 | repeatentry.cpp \ |
30 | timepicker.cpp \ | 28 | timepicker.cpp \ |
diff --git a/core/pim/datebook/datebookweeklst.cpp b/core/pim/datebook/datebookweeklst.cpp index 58a9c53..29519c1 100644 --- a/core/pim/datebook/datebookweeklst.cpp +++ b/core/pim/datebook/datebookweeklst.cpp | |||
@@ -24,13 +24,13 @@ | |||
24 | #include <qabstractlayout.h> | 24 | #include <qabstractlayout.h> |
25 | #include <qtl.h> | 25 | #include <qtl.h> |
26 | 26 | ||
27 | bool calcWeek(const QDate &d, int &week, int &year, | 27 | bool calcWeek(const QDate &d, int &week, int &year, |
28 | bool startOnMonday = false); | 28 | bool startOnMonday = false); |
29 | 29 | ||
30 | DateBookWeekLstHeader::DateBookWeekLstHeader(bool /*onM*/, QWidget* parent, | 30 | DateBookWeekLstHeader::DateBookWeekLstHeader(bool onM, QWidget* parent, |
31 | const char* name, WFlags fl) | 31 | const char* name, WFlags fl) |
32 | : DateBookWeekLstHeaderBase(parent, name, fl) | 32 | : DateBookWeekLstHeaderBase(parent, name, fl) |
33 | { | 33 | { |
34 | setBackgroundMode( PaletteButton ); | 34 | setBackgroundMode( PaletteButton ); |
35 | labelDate->setBackgroundMode( PaletteButton ); | 35 | labelDate->setBackgroundMode( PaletteButton ); |
36 | labelWeek->setBackgroundMode( PaletteButton ); | 36 | labelWeek->setBackgroundMode( PaletteButton ); |
@@ -88,13 +88,13 @@ void DateBookWeekLstHeader::nextWeek() { | |||
88 | setDate(date.addDays(7)); | 88 | setDate(date.addDays(7)); |
89 | } | 89 | } |
90 | void DateBookWeekLstHeader::prevWeek() { | 90 | void DateBookWeekLstHeader::prevWeek() { |
91 | setDate(date.addDays(-7)); | 91 | setDate(date.addDays(-7)); |
92 | } | 92 | } |
93 | 93 | ||
94 | DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool onM, | 94 | DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool /*onM*/, |
95 | QWidget* parent, | 95 | QWidget* parent, |
96 | const char* name, | 96 | const char* name, |
97 | WFlags fl ) | 97 | WFlags fl ) |
98 | : DateBookWeekLstDayHdrBase(parent, name, fl) { | 98 | : DateBookWeekLstDayHdrBase(parent, name, fl) { |
99 | 99 | ||
100 | date=d; | 100 | date=d; |