diff options
Diffstat (limited to 'korganizer/kdatenavigator.cpp')
-rw-r--r-- | korganizer/kdatenavigator.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp index c97ec9f76..087804103 100644 --- a/korganizer/kdatenavigator.cpp +++ b/korganizer/kdatenavigator.cpp @@ -121,8 +121,8 @@ void KDateNavigator::setBaseDate( const TQDate &date ) dates.append( date ); mNavigatorBar->selectDates( dates ); - tqrepaint(); - mDayMatrix->tqrepaint(); + repaint(); + mDayMatrix->repaint(); } } @@ -135,7 +135,7 @@ TQSizePolicy KDateNavigator::sizePolicy () const void KDateNavigator::updateToday() { mDayMatrix->recalculateToday(); - mDayMatrix->tqrepaint(); + mDayMatrix->repaint(); } TQDate KDateNavigator::startDate() const @@ -188,21 +188,21 @@ void KDateNavigator::updateDates() if ( weeknumstart != weeknumend ) { weeknum = i18n("start/end week number of line in date picker", "%1/%2") - .tqarg( weeknumstart ).tqarg( weeknumend ); + .arg( weeknumstart ).arg( weeknumend ); } else { weeknum.setNum( weeknumstart ); } mWeeknos[i]->setText( weeknum ); } -// each updateDates is followed by an updateView -> tqrepaint is issued there ! -// mDayMatrix->tqrepaint(); +// each updateDates is followed by an updateView -> repaint is issued there ! +// mDayMatrix->repaint(); } void KDateNavigator::updateDayMatrix() { mDayMatrix->updateView(); - mDayMatrix->tqrepaint(); + mDayMatrix->repaint(); } void KDateNavigator::setUpdateNeeded() @@ -228,7 +228,7 @@ void KDateNavigator::updateView() // kdDebug(5850) << "KDateNavigator::updateView(), view " << this << endl; updateDayMatrix(); - tqrepaint(); + repaint(); } void KDateNavigator::updateConfig() |