-rw-r--r-- | library/datebookmonth.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/datebookmonth.cpp b/library/datebookmonth.cpp index 272c223..4a9dcbd 100644 --- a/library/datebookmonth.cpp +++ b/library/datebookmonth.cpp @@ -24,3 +24,3 @@ #include "resource.h" -#include "qpeapplication.h" +#include <qpe/qpeapplication.h> #include "timestring.h" @@ -556,6 +556,6 @@ void DayItemMonth::paint( QPainter *p, const QColorGroup &cg, - int f = (*itDays).start().hour(); // assume Effective event + int f = (*itDays).start().hour(); // assume Effective event int t = (*itDays).end().hour(); // is truncated. - if (ev.isAllDay()) { + if (ev.isAllDay()) { if (!ev.hasRepeat()) @@ -617,5 +617,5 @@ void DayItemMonth::paint( QPainter *p, const QColorGroup &cg, } else { - p->fillRect( 0, 0, cr.width(), - cr.height(), selected - ? g.brush( QColorGroup::Highlight ) + p->fillRect( 0, 0, cr.width(), + cr.height(), selected + ? g.brush( QColorGroup::Highlight ) : g.brush( QColorGroup::Base ) ); @@ -735,3 +735,3 @@ void DateButton::setDate( QDate d ) setText( longFormat ? TimeString::longDateString( d, df ) : - TimeString::shortDate( d, df ) ); + TimeString::shortDate( d, df ) ); |