From 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:50 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12. --- korganizer/kdatenavigator.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'korganizer/kdatenavigator.cpp') diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp index 980bd1124..d47b79748 100644 --- a/korganizer/kdatenavigator.cpp +++ b/korganizer/kdatenavigator.cpp @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include #include @@ -67,7 +67,7 @@ KDateNavigator::KDateNavigator( TQWidget *parent, const char *name ) for( i = 0; i < 7; i++ ) { mHeadings[i] = new TQLabel( this ); mHeadings[i]->setFont( TQFont( generalFont, 10, TQFont::Bold ) ); - mHeadings[i]->setAlignment( AlignCenter ); + mHeadings[i]->tqsetAlignment( AlignCenter ); topLayout->addWidget( mHeadings[i], 1, i + 1 ); } @@ -75,7 +75,7 @@ KDateNavigator::KDateNavigator( TQWidget *parent, const char *name ) // Create the weeknumber labels for( i = 0; i < 6; i++ ) { mWeeknos[i] = new TQLabel( this ); - mWeeknos[i]->setAlignment( AlignCenter ); + mWeeknos[i]->tqsetAlignment( AlignCenter ); mWeeknos[i]->setFont( TQFont( generalFont, 10 ) ); mWeeknos[i]->installEventFilter( this ); @@ -121,8 +121,8 @@ void KDateNavigator::setBaseDate( const TQDate &date ) dates.append( date ); mNavigatorBar->selectDates( dates ); - repaint(); - mDayMatrix->repaint(); + tqrepaint(); + mDayMatrix->tqrepaint(); } } @@ -135,7 +135,7 @@ TQSizePolicy KDateNavigator::sizePolicy () const void KDateNavigator::updateToday() { mDayMatrix->recalculateToday(); - mDayMatrix->repaint(); + mDayMatrix->tqrepaint(); } 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") - .arg( weeknumstart ).arg( weeknumend ); + .tqarg( weeknumstart ).tqarg( weeknumend ); } else { weeknum.setNum( weeknumstart ); } mWeeknos[i]->setText( weeknum ); } -// each updateDates is followed by an updateView -> repaint is issued there ! -// mDayMatrix->repaint(); +// each updateDates is followed by an updateView -> tqrepaint is issued there ! +// mDayMatrix->tqrepaint(); } void KDateNavigator::updateDayMatrix() { mDayMatrix->updateView(); - mDayMatrix->repaint(); + mDayMatrix->tqrepaint(); } void KDateNavigator::setUpdateNeeded() @@ -228,7 +228,7 @@ void KDateNavigator::updateView() // kdDebug(5850) << "KDateNavigator::updateView(), view " << this << endl; updateDayMatrix(); - repaint(); + tqrepaint(); } void KDateNavigator::updateConfig() -- cgit v1.2.1