From b411ec2d8961d07c3e2e9aefc9e04322b7851859 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 17 Apr 2005 14:27:55 +0000 Subject: qdebugcleanup --- (limited to 'korganizer/komonthview.cpp') diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 2b7e41f..843526d 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -287,7 +287,6 @@ MonthViewItem::MonthViewItem( Incidence *incidence, QDate qd, const QString & s) mInfo = false; mdayPos = 0; isWeekItem = KOPrefs::instance()->mMonthViewWeek; - //qDebug("NEWWWWWWWWWWWWW "); } void MonthViewItem::recycle( Incidence *incidence, QDate qd, const QString & s) { @@ -300,16 +299,13 @@ void MonthViewItem::recycle( Incidence *incidence, QDate qd, const QString & s) mReply = false; mInfo = false; mdayPos = 0; - //qDebug("recucleeeeeeeeeeeeeeeee "); } void MonthViewItem::paint(QPainter *p) { if ( mblockRepaint ) { - //qDebug("block "); return; } - //qDebug("NON block "); #if QT_VERSION >= 0x030000 bool sel = isSelected(); #else @@ -460,7 +456,6 @@ int MonthViewItem::width(const QListBox *lb) const } if ( ! lb ) return 10; - //qDebug("ret wid %d ", lb->width()); return lb->width(); } @@ -612,12 +607,7 @@ void MonthViewCell::startUpdateCell() mAvailItemList.clear(); mAvailItemList.setAutoDelete( false ); } - /* - if ( !isVisible() ){ - return; - } - */ - // qDebug("MonthViewCell::updateCell() "); + setPrimary( mDate.month()%2 ); setHoliday( KOGlobals::self()->calendarSystem()->dayOfWeek(mDate) == KOGlobals::self()->calendarSystem()->weekDayOfPray() || ( mDate.dayOfWeek() == 6 ) && KOPrefs::instance()-> mExcludeSaturdays); if ( mDate == QDate::currentDate() ) { @@ -871,7 +861,6 @@ void MonthViewCell::finishUpdateCell() } void MonthViewCell::updateCell() { - //qDebug("MonthViewCell::updateCell() "); if ( !mMonthView->isUpdatePossible() ) return; startUpdateCell(); @@ -1053,7 +1042,6 @@ void MonthViewCell::newEvent() void MonthViewCell::cellClicked( QListBoxItem *item ) { mMonthView->setSelectedCell( this ); - qDebug("CELL "); if ( item == 0 ) { QDateTime dt( date(), QTime( KOPrefs::instance()->mStartTime, 0 ) ); emit newEventSignal( dt ); -- cgit v0.9.0.2