summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/sourcefile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/sourcefile.cpp')
-rw-r--r--kdevdesigner/designer/sourcefile.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdevdesigner/designer/sourcefile.cpp b/kdevdesigner/designer/sourcefile.cpp
index faf9dd10..ad76e201 100644
--- a/kdevdesigner/designer/sourcefile.cpp
+++ b/kdevdesigner/designer/sourcefile.cpp
@@ -26,7 +26,7 @@
#include "sourcefile.h"
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include "designerappiface.h"
#include "sourceeditor.h"
#include "metadatabase.h"
@@ -138,7 +138,7 @@ bool SourceFile::saveAs( bool ignoreModified )
pro->setModified( TRUE );
timeStamp.setFileName( pro->makeAbsolute( filename ) );
if ( ed )
- ed->setCaption( i18n( "Edit %1" ).arg( filename ) );
+ ed->setCaption( i18n( "Edit %1" ).tqarg( filename ) );
setModified( TRUE );
if ( pro->isDummy() ) {
TQObject *o = ed->parent();
@@ -220,7 +220,7 @@ bool SourceFile::closeEvent()
ed->save();
switch ( TQMessageBox::warning( MainWindow::self, i18n( "Save Code" ),
- i18n( "Save changes to '%1'?" ).arg( filename ),
+ i18n( "Save changes to '%1'?" ).tqarg( filename ),
i18n( "&Yes" ), i18n( "&No" ), i18n( "&Cancel" ), 0, 2 ) ) {
case 0: // save
if ( !save() )
@@ -265,7 +265,7 @@ void SourceFile::checkTimeStamp()
timeStamp.update();
if ( TQMessageBox::information( MainWindow::self, i18n( "TQt Designer" ),
i18n( "File '%1' has been changed outside TQt Designer.\n"
- "Do you want to reload it?" ).arg( filename ),
+ "Do you want to reload it?" ).tqarg( filename ),
i18n( "&Yes" ), i18n( "&No" ) ) == 0 ) {
load();
if ( ed )
@@ -279,7 +279,7 @@ bool SourceFile::checkFileName( bool allowBreak )
if ( sf )
TQMessageBox::warning( MainWindow::self, i18n( "Invalid Filename" ),
i18n( "The project already contains a source file with \n"
- "filename '%1'. Please choose a new filename." ).arg( filename ) );
+ "filename '%1'. Please choose a new filename." ).tqarg( filename ) );
while ( sf ) {
LanguageInterface *iface = MetaDataBase::languageInterface( pro->language() );
TQString filter;