From 716a5de8870d7c02bb4d0aed72f30291b17b763a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:59:01 -0600 Subject: Remove additional unneeded tq method conversions --- korganizer/kdatenavigator.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'korganizer/kdatenavigator.cpp') 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() -- cgit v1.2.1