summaryrefslogtreecommitdiffstats
path: root/kig/filters/exporter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kig/filters/exporter.cc')
-rw-r--r--kig/filters/exporter.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kig/filters/exporter.cc b/kig/filters/exporter.cc
index 53e14139..8dfeffda 100644
--- a/kig/filters/exporter.cc
+++ b/kig/filters/exporter.cc
@@ -40,7 +40,7 @@
#include <tqcolor.h>
#include <tqfile.h>
#include <tqiconset.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <kaction.h>
#include <kiconloader.h>
@@ -156,7 +156,7 @@ void ImageExporter::run( const KigPart& doc, KigWidget& w )
{
KMessageBox::sorry( &w,
i18n( "The file \"%1\" could not be opened. Please check if the file permissions are set correctly." )
- .arg( filename ) );
+ .tqarg( filename ) );
return;
};
@@ -169,7 +169,7 @@ void ImageExporter::run( const KigPart& doc, KigWidget& w )
p.drawObjects( doc.document().objects(), false );
if ( ! img.save( filename, type.latin1() ) )
{
- KMessageBox::error( &w, i18n( "Sorry, something went wrong while saving to image \"%1\"" ).arg( filename ) );
+ KMessageBox::error( &w, i18n( "Sorry, something went wrong while saving to image \"%1\"" ).tqarg( filename ) );
}
}
@@ -593,7 +593,7 @@ void XFigExporter::run( const KigPart& doc, KigWidget& w )
{
KMessageBox::sorry( &w, i18n( "The file \"%1\" could not be opened. Please "
"check if the file permissions are set correctly." )
- .arg( file_name ) );
+ .tqarg( file_name ) );
return;
};
TQTextStream stream( &file );