summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/clickablelabel.cpp6
-rw-r--r--core/pim/datebook/datebookday.cpp8
-rw-r--r--core/pim/datebook/datebookweek.cpp2
-rw-r--r--core/pim/datebook/datebookweeklst.cpp12
-rw-r--r--core/pim/datebook/timepicker.cpp4
5 files changed, 16 insertions, 16 deletions
diff --git a/core/pim/datebook/clickablelabel.cpp b/core/pim/datebook/clickablelabel.cpp
index 1dd0d15..128bebb 100644
--- a/core/pim/datebook/clickablelabel.cpp
+++ b/core/pim/datebook/clickablelabel.cpp
@@ -3,5 +3,5 @@
3 3
4ClickableLabel::ClickableLabel(QWidget* parent = 0, 4ClickableLabel::ClickableLabel(QWidget* parent,
5 const char* name = 0, 5 const char* name,
6 WFlags fl = 0) : 6 WFlags fl) :
7 QLabel(parent,name,fl) 7 QLabel(parent,name,fl)
diff --git a/core/pim/datebook/datebookday.cpp b/core/pim/datebook/datebookday.cpp
index d5daab2..67a88e9 100644
--- a/core/pim/datebook/datebookday.cpp
+++ b/core/pim/datebook/datebookday.cpp
@@ -487,6 +487,6 @@ DateBookDayWidget::DateBookDayWidget( const EffectiveEvent &e,
487 487
488 QTime s = ev.start(); 488 QTime start = ev.start();
489 QTime e = ev.end(); 489 QTime end = ev.end();
490 int y = s.hour()*60+s.minute(); 490 int y = start.hour()*60+start.minute();
491 int h = e.hour()*60+e.minute()-y; 491 int h = end.hour()*60+end.minute()-y;
492 int rh = dateBook->dayView()->rowHeight(0); 492 int rh = dateBook->dayView()->rowHeight(0);
diff --git a/core/pim/datebook/datebookweek.cpp b/core/pim/datebook/datebookweek.cpp
index e9fcc39..6532ba4 100644
--- a/core/pim/datebook/datebookweek.cpp
+++ b/core/pim/datebook/datebookweek.cpp
@@ -614,3 +614,3 @@ QDate DateBookWeek::weekDate() const
614bool calcWeek( const QDate &d, int &week, int &year, 614bool calcWeek( const QDate &d, int &week, int &year,
615 bool startOnMonday = false ) 615 bool startOnMonday )
616{ 616{
diff --git a/core/pim/datebook/datebookweeklst.cpp b/core/pim/datebook/datebookweeklst.cpp
index 7083bc5..85c745a 100644
--- a/core/pim/datebook/datebookweeklst.cpp
+++ b/core/pim/datebook/datebookweeklst.cpp
@@ -94,5 +94,5 @@ void DateBookWeekLstHeader::prevWeek() {
94DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool onM, 94DateBookWeekLstDayHdr::DateBookWeekLstDayHdr(const QDate &d, bool onM,
95 QWidget* parent = 0, 95 QWidget* parent,
96 const char* name = 0, 96 const char* name,
97 WFlags fl = 0 ) 97 WFlags fl )
98 : DateBookWeekLstDayHdrBase(parent, name, fl) { 98 : DateBookWeekLstDayHdrBase(parent, name, fl) {
@@ -142,5 +142,5 @@ void DateBookWeekLstDayHdr::newEvent() {
142DateBookWeekLstEvent::DateBookWeekLstEvent(const EffectiveEvent &ev, 142DateBookWeekLstEvent::DateBookWeekLstEvent(const EffectiveEvent &ev,
143 QWidget* parent = 0, 143 QWidget* parent,
144 const char* name = 0, 144 const char* name,
145 WFlags fl = 0) : 145 WFlags fl) :
146 ClickableLabel(parent,name,fl), 146 ClickableLabel(parent,name,fl),
diff --git a/core/pim/datebook/timepicker.cpp b/core/pim/datebook/timepicker.cpp
index 9097e1b..43e05ad 100644
--- a/core/pim/datebook/timepicker.cpp
+++ b/core/pim/datebook/timepicker.cpp
@@ -9,4 +9,4 @@
9 9
10TimePicker::TimePicker(QWidget* parent = 0, const char* name = 0, 10TimePicker::TimePicker(QWidget* parent, const char* name,
11 WFlags fl = 0) : 11 WFlags fl) :
12 QWidget(parent,name,fl) 12 QWidget(parent,name,fl)