summaryrefslogtreecommitdiffstats
path: root/krec/krecord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krec/krecord.cpp')
-rw-r--r--krec/krecord.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/krec/krecord.cpp b/krec/krecord.cpp
index e6205c8a..d73b4371 100644
--- a/krec/krecord.cpp
+++ b/krec/krecord.cpp
@@ -32,7 +32,7 @@
#include <kapplication.h>
#include <kaction.h>
#include <kconfig.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtimer.h>
#include <ksettings/dialog.h>
#include <ktip.h>
@@ -138,7 +138,7 @@ bool KRecPrivate::closeFile() {
//kdDebug( 60005 ) << k_funcinfo << endl;
if ( _currentFile ) {
if ( !_currentFile->saved() ) {
- int choice = KMessageBox::questionYesNoCancel( _impl, i18n( "The document \"%1\" has been modified.\nDo you want to save it?" ).tqarg( _currentFile->filename() ), TQString(), KStdGuiItem::save(), KStdGuiItem::discard() );
+ int choice = KMessageBox::questionYesNoCancel( _impl, i18n( "The document \"%1\" has been modified.\nDo you want to save it?" ).arg( _currentFile->filename() ), TQString(), KStdGuiItem::save(), KStdGuiItem::discard() );
if ( choice == KMessageBox::Yes ) saveFile();
if ( choice == KMessageBox::Cancel ) return false;
// go on if KMessageBox::No
@@ -179,7 +179,7 @@ void KRecPrivate::exportFile() {
"you did everything right, please file a bugreport saying what " \
"you where about to do and please quote the following line:<br />" \
"%1</li>" \
- "</ul></qt>" ).tqarg( KRecGlobal::the()->exportFormatEndings() ),
+ "</ul></qt>" ).arg( KRecGlobal::the()->exportFormatEndings() ),
i18n( "Could not determine encodingmethod" ) );
}
} else KRecGlobal::the()->message( i18n( "There is nothing to export." ) );