Diffstat (limited to 'core/pim/datebook/datebookweeklst.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookweeklst.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 | |||
@@ -1,10 +1,11 @@ | |||
1 | #include "namespace_hack.h" | 1 | #include "namespace_hack.h" |
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> |
9 | #include <qpe/resource.h> | 10 | #include <qpe/resource.h> |
10 | 11 | ||
@@ -158,9 +159,9 @@ DateBookWeekLstEvent::DateBookWeekLstEvent(const EffectiveEvent &ev, | |||
158 | { | 159 | { |
159 | // old values... lastday = "__|__", middle=" |---", Firstday="00:00", | 160 | // old values... lastday = "__|__", middle=" |---", Firstday="00:00", |
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()); |
165 | // middle.sprintf("<--->"); | 166 | // middle.sprintf("<--->"); |
166 | // end.sprintf("-%.2d:%.2d",ev.end().hour(),ev.end().minute()); | 167 | // end.sprintf("-%.2d:%.2d",ev.end().hour(),ev.end().minute()); |
@@ -207,9 +208,9 @@ DateBookWeekLstView::DateBookWeekLstView(QValueList<EffectiveEvent> &ev, | |||
207 | { | 208 | { |
208 | Config config("DateBook"); | 209 | Config config("DateBook"); |
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; |
214 | setPalette(white); | 215 | setPalette(white); |
215 | setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding)); | 216 | setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding)); |