[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/korganizer
From: Allen Winter <winterz () verizon ! net>
Date: 2005-03-12 23:23:33
Message-ID: 20050312232333.F201EEED3 () office ! kde ! org
[Download RAW message or body]
CVS commit by winterz:
Minor as required by the recent changes to the Calendar class.
M +3 -1 koagendaview.cpp 1.196
M +3 -1 printing/calprintdefaultplugins.cpp 1.17
M +6 -2 printing/calprinthelper.cpp 1.20
--- kdepim/korganizer/koagendaview.cpp #1.195:1.196
@@ -1372,5 +1372,7 @@ void KOAgendaView::fillAgenda()
// << endl;
- dayEvents = calendar()->events(currentDate,true);
+ dayEvents = calendar()->events(currentDate,
+ EventSortStartDate,
+ SortDirectionAscending);
// Default values, which can never be reached
--- kdepim/korganizer/printing/calprintdefaultplugins.cpp #1.16:1.17
@@ -177,5 +177,7 @@ void CalPrintDay::print( QPainter &p, in
y += mHelper->mHeaderHeight + 5;
x = 80;
- Event::List eventList = mCalendar->events( curDay, true );
+ Event::List eventList = mCalendar->events( curDay,
+ EventSortStartDate,
+ SortDirectionAscending );
p.setFont( QFont( "helvetica", 12 ) );
--- kdepim/korganizer/printing/calprinthelper.cpp #1.19:1.20
@@ -598,5 +598,7 @@ void CalPrintHelper::drawDayBox( QPainte
Qt::AlignRight | Qt::AlignVCenter, dayNumStr);
- Event::List eventList = mCalendar->events( qd, true );
+ Event::List eventList = mCalendar->events( qd,
+ EventSortStartDate,
+ SortDirectionAscending );
QString text;
p.setFont( QFont( "helvetica", 8 ) );
@@ -719,5 +721,7 @@ void CalPrintHelper::drawTimeTable(QPain
QDate curDate(fromDate);
while (curDate<=toDate) {
- Event::List eventList = mCalendar->events(curDate, true);
+ Event::List eventList = mCalendar->events(curDate,
+ EventSortStartDate,
+ SortDirectionAscending);
drawAllDayBox( p, eventList, curDate, false, currX, currY, cellWidth, alldayHeight);
drawAgendaDayBox( p, eventList, curDate, false, fromTime, toTime, currX,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic