diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:55:10 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 04:35:59 +0200 |
commit | 3fa570c72df3bf358988b8ce3f019bb7224c380e (patch) | |
tree | eeb2f8db4c9a619597aa6713eb8844268064caa4 /libkdeedu/extdate/extdatetimeedit.cpp | |
parent | b142e177fd839801f225b2694b98095a59869772 (diff) | |
download | tdeedu-3fa570c72df3bf358988b8ce3f019bb7224c380e.tar.gz tdeedu-3fa570c72df3bf358988b8ce3f019bb7224c380e.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 746abe84406ed1ec1a8dc68f29ce0ab8322ccc80)
Diffstat (limited to 'libkdeedu/extdate/extdatetimeedit.cpp')
-rw-r--r-- | libkdeedu/extdate/extdatetimeedit.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/libkdeedu/extdate/extdatetimeedit.cpp b/libkdeedu/extdate/extdatetimeedit.cpp index 2d75c12a..b2468107 100644 --- a/libkdeedu/extdate/extdatetimeedit.cpp +++ b/libkdeedu/extdate/extdatetimeedit.cpp @@ -295,7 +295,7 @@ public: TQRect r( rect.x(), rect.y(), rect.width() - 2 * ( 2 + fw ), rect.height() ); parag->pseudoDocument()->docRect = r; - parag->tqinvalidate(0); + parag->invalidate(0); parag->format(); int xoff = 2 + fw - offset; @@ -465,7 +465,7 @@ void ExtDateTimeEditor::mousePressEvent( TQMouseEvent *e ) int sec = sectionAt( p ); if ( sec != -1 ) { cw->setFocusSection( sec ); - tqrepaint( rect(), FALSE ); + repaint( rect(), FALSE ); } } @@ -481,13 +481,13 @@ bool ExtDateTimeEditor::eventFilter( TQObject *o, TQEvent *e ) case Key_Right: if ( d->focusSection() < (int)d->sectionCount()-1 ) { if ( cw->setFocusSection( focusSection()+1 ) ) - tqrepaint( rect(), FALSE ); + repaint( rect(), FALSE ); } return TRUE; case Key_Left: if ( d->focusSection() > 0 ) { if ( cw->setFocusSection( focusSection()-1 ) ) - tqrepaint( rect(), FALSE ); + repaint( rect(), FALSE ); } return TRUE; case Key_Up: @@ -547,7 +547,7 @@ bool ExtDateTimeEditor::eventFilter( TQObject *o, TQEvent *e ) // do the same thing as KEY_RIGHT when the user presses the separator key if ( d->focusSection() < 2 ) { if ( cw->setFocusSection( focusSection()+1 ) ) - tqrepaint( rect(), FALSE ); + repaint( rect(), FALSE ); } return TRUE; } else if ( !txt.isEmpty() && ::tqqt_cast<TQTimeEdit*>(cw) && focusSection() == (int) d->sectionCount()-1 ) { @@ -1133,7 +1133,7 @@ void ExtDateEdit::setOrder( ExtDateEdit::Order order ) } if ( isVisible() ) - d->ed->tqrepaint( d->ed->rect(), FALSE ); + d->ed->repaint( d->ed->rect(), FALSE ); } @@ -1171,7 +1171,7 @@ void ExtDateEdit::stepUp() emit valueChanged( date() ); } - d->ed->tqrepaint( d->ed->rect(), FALSE ); + d->ed->repaint( d->ed->rect(), FALSE ); } @@ -1205,7 +1205,7 @@ void ExtDateEdit::stepDown() emit valueChanged( date() ); } - d->ed->tqrepaint( d->ed->rect(), FALSE ); + d->ed->repaint( d->ed->rect(), FALSE ); } /*! @@ -1292,7 +1292,7 @@ void ExtDateEdit::setDate( const ExtDate& date ) emit valueChanged( date ); } d->changed = FALSE; - d->ed->tqrepaint( d->ed->rect(), FALSE ); + d->ed->repaint( d->ed->rect(), FALSE ); } ExtDate ExtDateEdit::date() const @@ -1428,7 +1428,7 @@ void ExtDateEdit::addNumber( int sec, int num ) } d->overwrite = overwrite; d->timerId = startTimer( tqApp->doubleClickInterval()*4 ); - d->ed->tqrepaint( d->ed->rect(), FALSE ); + d->ed->repaint( d->ed->rect(), FALSE ); } @@ -1581,7 +1581,7 @@ void ExtDateEdit::removeFirstNumber( int sec ) d->d = txt.toInt(); d->dayCache = d->d; } - d->ed->tqrepaint( d->ed->rect(), FALSE ); + d->ed->repaint( d->ed->rect(), FALSE ); } /*! \reimp @@ -1607,7 +1607,7 @@ void ExtDateEdit::removeLastNumber( int sec ) d->d = txt.toInt(); d->dayCache = d->d; } - d->ed->tqrepaint( d->ed->rect(), FALSE ); + d->ed->repaint( d->ed->rect(), FALSE ); } /*! @@ -1882,7 +1882,7 @@ public: // emit valueChanged( time ); // } // d->changed = FALSE; -// d->ed->tqrepaint( d->ed->rect(), FALSE ); +// d->ed->repaint( d->ed->rect(), FALSE ); // } // // TQTime TQTimeEdit::time() const @@ -2012,7 +2012,7 @@ public: // d->changed = TRUE; // emit valueChanged( time() ); // } -// d->ed->tqrepaint( d->ed->rect(), FALSE ); +// d->ed->repaint( d->ed->rect(), FALSE ); // } // // @@ -2061,7 +2061,7 @@ public: // d->changed = TRUE; // emit valueChanged( time() ); // } -// d->ed->tqrepaint( d->ed->rect(), FALSE ); +// d->ed->repaint( d->ed->rect(), FALSE ); // } // // @@ -2343,7 +2343,7 @@ public: // emit valueChanged( time() ); // d->overwrite = overwrite; // d->timerId = startTimer( tqApp->doubleClickInterval()*4 ); -// d->ed->tqrepaint( d->ed->rect(), FALSE ); +// d->ed->repaint( d->ed->rect(), FALSE ); // } // // @@ -2383,7 +2383,7 @@ public: // d->s = txt.toInt(); // break; // } -// d->ed->tqrepaint( d->ed->rect(), FALSE ); +// d->ed->repaint( d->ed->rect(), FALSE ); // } // // /*! \reimp @@ -2418,7 +2418,7 @@ public: // d->s = txt.toInt(); // break; // } -// d->ed->tqrepaint( d->ed->rect(), FALSE ); +// d->ed->repaint( d->ed->rect(), FALSE ); // } // // /*! \reimp |