summaryrefslogtreecommitdiffstats
path: root/krec/krecfileviewhelpers.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:57:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:57:28 -0600
commitdc07846059a60d069687585cc72ff501a2096296 (patch)
tree432ead5b09c6ace7e804629f1f74a3ed58f003e0 /krec/krecfileviewhelpers.cpp
parent3c299dfe48c0060272c2966fff599b3b417e2ee4 (diff)
downloadtdemultimedia-dc07846059a60d069687585cc72ff501a2096296.tar.gz
tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'krec/krecfileviewhelpers.cpp')
-rw-r--r--krec/krecfileviewhelpers.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/krec/krecfileviewhelpers.cpp b/krec/krecfileviewhelpers.cpp
index 26acdb2a..a064dfea 100644
--- a/krec/krecfileviewhelpers.cpp
+++ b/krec/krecfileviewhelpers.cpp
@@ -64,12 +64,12 @@ void KRecTimeBar::mouseReleaseEvent( TQMouseEvent* qme ) {
void KRecTimeBar::newPos( int n ) {
_pos = n;
- tqrepaint();
+ repaint();
}
void KRecTimeBar::newSize( int n ) {
_size = n;
- tqrepaint();
+ repaint();
}
@@ -216,10 +216,10 @@ TQString KRecTimeDisplay::formatTime( const int mode, const int sample ) const {
void KRecTimeDisplay::timeContextMenu( TQPopupMenu* menu ) {
if ( !_filename.isNull() ) {
menu->insertSeparator( 0 );
- menu->insertItem( i18n( "kByte: %1" ).tqarg( formatTime( 3, _posvalue ) ), -1, 0 );
- menu->insertItem( i18n( "[h:]m:s.f %1" ).tqarg( formatTime( 2, _posvalue ) ), -1, 0 );
- menu->insertItem( i18n( "[h:]m:s.s %1" ).tqarg( formatTime( 1, _posvalue ) ), -1, 0 );
- menu->insertItem( i18n( "%1 Samples" ).tqarg( formatTime( 0, _posvalue ) ), -1, 0 );
+ menu->insertItem( i18n( "kByte: %1" ).arg( formatTime( 3, _posvalue ) ), -1, 0 );
+ menu->insertItem( i18n( "[h:]m:s.f %1" ).arg( formatTime( 2, _posvalue ) ), -1, 0 );
+ menu->insertItem( i18n( "[h:]m:s.s %1" ).arg( formatTime( 1, _posvalue ) ), -1, 0 );
+ menu->insertItem( i18n( "%1 Samples" ).arg( formatTime( 0, _posvalue ) ), -1, 0 );
KPopupTitle *tmp = new KPopupTitle( menu );
tmp->setTitle( i18n( "Position" ) );
menu->insertItem( tmp, -1, 0 );
@@ -235,10 +235,10 @@ void KRecTimeDisplay::timeContextMenu( const TQPoint &point ) {
void KRecTimeDisplay::sizeContextMenu( TQPopupMenu* menu ) {
if ( !_filename.isNull() ) {
menu->insertSeparator( 0 );
- menu->insertItem( i18n( "kByte: %1" ).tqarg( formatTime( 3, _sizevalue ) ), -1, 0 );
- menu->insertItem( i18n( "[h:]m:s.f %1" ).tqarg( formatTime( 2, _sizevalue ) ), -1, 0 );
- menu->insertItem( i18n( "[h:]m:s.s %1" ).tqarg( formatTime( 1, _sizevalue ) ), -1, 0 );
- menu->insertItem( i18n( "%1 Samples" ).tqarg( formatTime( 0, _sizevalue ) ), -1, 0 );
+ menu->insertItem( i18n( "kByte: %1" ).arg( formatTime( 3, _sizevalue ) ), -1, 0 );
+ menu->insertItem( i18n( "[h:]m:s.f %1" ).arg( formatTime( 2, _sizevalue ) ), -1, 0 );
+ menu->insertItem( i18n( "[h:]m:s.s %1" ).arg( formatTime( 1, _sizevalue ) ), -1, 0 );
+ menu->insertItem( i18n( "%1 Samples" ).arg( formatTime( 0, _sizevalue ) ), -1, 0 );
KPopupTitle *tmp = new KPopupTitle( menu );
tmp->setTitle( i18n( "Size" ) );
menu->insertItem( tmp, -1, 0 );
@@ -255,10 +255,10 @@ void KRecTimeDisplay::jumpToTime() {
}
TQString KRecTimeDisplay::positionText( int m, int n ) {
- return i18n( "Position: %1" ).tqarg( formatTime( m,n ) );
+ return i18n( "Position: %1" ).arg( formatTime( m,n ) );
}
TQString KRecTimeDisplay::sizeText( int m, int n ) {
- return i18n( "Size: %1" ).tqarg( formatTime( m,n ) );
+ return i18n( "Size: %1" ).arg( formatTime( m,n ) );
}
void AKLabel::mousePressEvent( TQMouseEvent* qme ) {