summaryrefslogtreecommitdiffstats
path: root/libtdeedu/extdate/extdatetimeedit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
commit746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 (patch)
tree34a73ef7b8771de54099eeffb941117e49a8865e /libtdeedu/extdate/extdatetimeedit.cpp
parent999f961ff5278b84c8ffd8a91addb9343e589cf0 (diff)
downloadtdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.tar.gz
tdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'libtdeedu/extdate/extdatetimeedit.cpp')
-rw-r--r--libtdeedu/extdate/extdatetimeedit.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/libtdeedu/extdate/extdatetimeedit.cpp b/libtdeedu/extdate/extdatetimeedit.cpp
index 2d75c12a..b2468107 100644
--- a/libtdeedu/extdate/extdatetimeedit.cpp
+++ b/libtdeedu/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