From f59dfa08651a47f21d004e8e4cb5020b8035287e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 83fbc82a101309e171089f0d5ed080f82a367345. --- krec/krecfile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'krec/krecfile.cpp') diff --git a/krec/krecfile.cpp b/krec/krecfile.cpp index a1e5c584..29d4640b 100644 --- a/krec/krecfile.cpp +++ b/krec/krecfile.cpp @@ -94,7 +94,7 @@ KRecFile::KRecFile( const TQString &filename, TQObject* p, const char* n ) _config->setGroup( "File-" + TQString::number( i ) ); newBuffer( KRecBuffer::fromConfig( _config, _dir->qDir(), this ) ); } - KRecGlobal::the()->message( i18n( "\'%1\' loaded." ).arg( filename ) ); + KRecGlobal::the()->message( i18n( "\'%1\' loaded." ).tqarg( filename ) ); delete tar; @@ -168,7 +168,7 @@ void KRecFile::save( const TQString &fname ) { delete tar; KIO::file_move( tmpname, filetosave, -1, true, false, true ); - KRecGlobal::the()->message( i18n( "Saving \"%1\" was successful." ).arg( filename() ) ); + KRecGlobal::the()->message( i18n( "Saving \"%1\" was successful." ).tqarg( filename() ) ); _saved = true; } @@ -429,7 +429,7 @@ void KRecBuffer::setActive( bool n ) { } void KRecBuffer::deleteBuffer() { - if ( KMessageBox::warningContinueCancel( KRecGlobal::the()->mainWidget(), i18n( "Do you really want to delete the selected part '%1'?" ).arg( filename() ), i18n("Delete Part?"), KStdGuiItem::del() ) == KMessageBox::Continue ) + if ( KMessageBox::warningContinueCancel( KRecGlobal::the()->mainWidget(), i18n( "Do you really want to delete the selected part '%1'?" ).tqarg( filename() ), i18n("Delete Part?"), KStdGuiItem::del() ) == KMessageBox::Continue ) _krecfile->deleteBuffer( this ); } -- cgit v1.2.1