author | umopapisdn <umopapisdn> | 2003-05-13 23:05:33 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2003-05-13 23:05:33 (UTC) |
commit | 81a58bae78d693b67679d94d2f7fcdb300e12d4f (patch) (side-by-side diff) | |
tree | e34959f08d7f7d2f3a5c5d86d7115f805d9eed88 | |
parent | 3cd39cd981c4691c559042075c5223d09c87007e (diff) | |
download | opie-81a58bae78d693b67679d94d2f7fcdb300e12d4f.zip opie-81a58bae78d693b67679d94d2f7fcdb300e12d4f.tar.gz opie-81a58bae78d693b67679d94d2f7fcdb300e12d4f.tar.bz2 |
Just a removal of a debug message.
-rw-r--r-- | core/pim/datebook/datebookweek.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/pim/datebook/datebookweek.cpp b/core/pim/datebook/datebookweek.cpp index 12f57a0..e49ed28 100644 --- a/core/pim/datebook/datebookweek.cpp +++ b/core/pim/datebook/datebookweek.cpp @@ -379,65 +379,64 @@ DateBookWeek::DateBookWeek( bool ap, bool startOnMonday, DateBookDB *newDB, void DateBookWeek::keyPressEvent(QKeyEvent *e) { switch(e->key()) { case Key_Up: view->scrollBy(0, -20); break; case Key_Down: view->scrollBy(0, 20); break; case Key_Left: setDate(date().addDays(-7)); break; case Key_Right: setDate(date().addDays(7)); break; default: e->ignore(); } } void DateBookWeek::showDay( int day ) { QDate d=bdate; // Calculate offset to first day of week. int dayoffset=d.dayOfWeek(); if(bStartOnMonday) dayoffset--; day--; d=d.addDays(day-dayoffset); emit showDate( d.year(), d.month(), d.day() ); - qDebug("%4d-%02d-%02d / Day %d\n",d.year(),d.month(),d.day(),day); } void DateBookWeek::setDate( int y, int m, int d ) { setDate(QDate(y, m, d)); } void DateBookWeek::setDate(QDate newdate) { bdate=newdate; dow = newdate.dayOfWeek(); header->setDate( newdate ); } void DateBookWeek::dateChanged( QDate &newdate ) { bdate=newdate; getEvents(); } QDate DateBookWeek::date() const { return bdate; } void DateBookWeek::getEvents() { QDate startWeek = weekDate(); QDate endWeek = startWeek.addDays( 6 ); QValueList<EffectiveEvent> eventList = db->getEffectiveEvents(startWeek, endWeek); view->showEvents( eventList ); |