summaryrefslogtreecommitdiffstats
path: root/kig/filters/exporter.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
commit6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (patch)
treecc90a09df2d1fd6d956cc084529a62d354316ad3 /kig/filters/exporter.cc
parent174fd5e23c68598774706ea9b571d3d178e36b81 (diff)
downloadtdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.tar.gz
tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.zip
Rename a number of old tq methods that are no longer tq specific
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 8dfeffda..53e14139 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 <tqtextstream.h>
+#include <textstream.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." )
- .tqarg( filename ) );
+ .arg( 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\"" ).tqarg( filename ) );
+ KMessageBox::error( &w, i18n( "Sorry, something went wrong while saving to image \"%1\"" ).arg( 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." )
- .tqarg( file_name ) );
+ .arg( file_name ) );
return;
};
TQTextStream stream( &file );