summaryrefslogtreecommitdiffstats
path: root/kimgio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:32:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:32:40 -0600
commit984c25aa6969e55896e9a13c8e7f7b8a58991a4e (patch)
tree3653d4ee49b0adf405ff17e0ecdc99bc6f10c1bf /kimgio
parent56160bf4dfe503631ef6373367b281f081bab2b4 (diff)
downloadtdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.tar.gz
tdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kimgio')
-rw-r--r--kimgio/dds.cpp10
-rw-r--r--kimgio/eps.cpp4
-rw-r--r--kimgio/exr.cpp2
-rw-r--r--kimgio/hdr.cpp8
-rw-r--r--kimgio/ico.cpp2
-rw-r--r--kimgio/jp2.cpp4
-rw-r--r--kimgio/pcx.cpp10
-rw-r--r--kimgio/psd.cpp8
-rw-r--r--kimgio/rgb.cpp8
-rw-r--r--kimgio/tga.cpp10
-rw-r--r--kimgio/tiffr.cpp2
-rw-r--r--kimgio/xcf.cpp4
-rw-r--r--kimgio/xview.cpp4
13 files changed, 38 insertions, 38 deletions
diff --git a/kimgio/dds.cpp b/kimgio/dds.cpp
index 1beb025cf..1a2edee84 100644
--- a/kimgio/dds.cpp
+++ b/kimgio/dds.cpp
@@ -964,7 +964,7 @@ KDE_EXPORT void kimgio_dds_read( TQImageIO *io )
if( fourcc != FOURCC_DDS ) {
kdDebug(399) << "This is not a DDS file." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -976,7 +976,7 @@ KDE_EXPORT void kimgio_dds_read( TQImageIO *io )
if( s.atEnd() || !IsValid( header ) ) {
kdDebug(399) << "This DDS file is not valid." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -984,7 +984,7 @@ KDE_EXPORT void kimgio_dds_read( TQImageIO *io )
if( !IsSupported( header ) ) {
kdDebug(399) << "This DDS file is not supported." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -1002,12 +1002,12 @@ KDE_EXPORT void kimgio_dds_read( TQImageIO *io )
if( result == false ) {
kdDebug(399) << "Error loading DDS file." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
io->setImage( img );
- io->setqStatus( 0 );
+ io->seStatus( 0 );
}
diff --git a/kimgio/eps.cpp b/kimgio/eps.cpp
index a2770cc75..a06d43be3 100644
--- a/kimgio/eps.cpp
+++ b/kimgio/eps.cpp
@@ -234,7 +234,7 @@ KDE_EXPORT void kimgio_eps_read (TQImageIO *image)
TQImage myimage;
if( myimage.load (tmpFile.name()) ) {
image->setImage (myimage);
- image->setqStatus (0);
+ image->seStatus (0);
kdDebug(399) << "kimgio EPS: success!" << endl;
}
else
@@ -290,5 +290,5 @@ KDE_EXPORT void kimgio_eps_write( TQImageIO *imageio )
inFile.close();
- imageio->setqStatus(0);
+ imageio->seStatus(0);
}
diff --git a/kimgio/exr.cpp b/kimgio/exr.cpp
index 2af22b345..88b3fbbbe 100644
--- a/kimgio/exr.cpp
+++ b/kimgio/exr.cpp
@@ -148,7 +148,7 @@ KDE_EXPORT void kimgio_exr_read( TQImageIO *io )
}
io->setImage( image );
- io->setqStatus( 0 );
+ io->seStatus( 0 );
}
catch (const std::exception &exc)
{
diff --git a/kimgio/hdr.cpp b/kimgio/hdr.cpp
index 82a2e111d..99bcccbbf 100644
--- a/kimgio/hdr.cpp
+++ b/kimgio/hdr.cpp
@@ -225,7 +225,7 @@ KDE_EXPORT void kimgio_hdr_read( TQImageIO * io )
{
kdDebug(399) << "Unknown HDR format." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -238,7 +238,7 @@ KDE_EXPORT void kimgio_hdr_read( TQImageIO * io )
{
kdDebug(399) << "Invalid HDR file." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -249,12 +249,12 @@ KDE_EXPORT void kimgio_hdr_read( TQImageIO * io )
{
kdDebug(399) << "Error loading HDR file." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
io->setImage( img );
- io->setqStatus( 0 );
+ io->seStatus( 0 );
}
diff --git a/kimgio/ico.cpp b/kimgio/ico.cpp
index b7208e577..3188ac238 100644
--- a/kimgio/ico.cpp
+++ b/kimgio/ico.cpp
@@ -306,7 +306,7 @@ extern "C" KDE_EXPORT void kimgio_ico_read( TQImageIO* io )
icon.setText( "X-HotspotY", 0, TQString::number( selected->hotspotY ) );
}
io->setImage(icon);
- io->setqStatus(0);
+ io->seStatus(0);
}
}
diff --git a/kimgio/jp2.cpp b/kimgio/jp2.cpp
index 121e83287..4e74211e8 100644
--- a/kimgio/jp2.cpp
+++ b/kimgio/jp2.cpp
@@ -163,7 +163,7 @@ kimgio_jp2_read( TQImageIO* io )
if( gs.altimage ) jas_image_destroy( gs.altimage );
io->setImage( image );
- io->setqStatus( 0 );
+ io->seStatus( 0 );
} // kimgio_jp2_read
@@ -309,7 +309,7 @@ kimgio_jp2_write( TQImageIO* io )
// everything went fine
- io->setqStatus( IO_Ok );
+ io->seStatus( IO_Ok );
} // kimgio_jp2_write
#endif // HAVE_JASPER
diff --git a/kimgio/pcx.cpp b/kimgio/pcx.cpp
index e823ebb8d..bda7ef495 100644
--- a/kimgio/pcx.cpp
+++ b/kimgio/pcx.cpp
@@ -269,7 +269,7 @@ KDE_EXPORT void kimgio_pcx_read( TQImageIO *io )
if ( s.tqdevice()->size() < 128 )
{
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -279,7 +279,7 @@ KDE_EXPORT void kimgio_pcx_read( TQImageIO *io )
if ( header.Manufacturer != 10 || s.atEnd())
{
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -323,11 +323,11 @@ KDE_EXPORT void kimgio_pcx_read( TQImageIO *io )
if ( !img.isNull() )
{
io->setImage( img );
- io->setqStatus( 0 );
+ io->seStatus( 0 );
}
else
{
- io->setqStatus( -1 );
+ io->seStatus( -1 );
}
}
@@ -526,7 +526,7 @@ KDE_EXPORT void kimgio_pcx_write( TQImageIO *io )
writeImage24( img, s, header );
}
- io->setqStatus( 0 );
+ io->seStatus( 0 );
}
/* vim: et sw=2 ts=2
diff --git a/kimgio/psd.cpp b/kimgio/psd.cpp
index d400257aa..5fa0d81a1 100644
--- a/kimgio/psd.cpp
+++ b/kimgio/psd.cpp
@@ -250,7 +250,7 @@ void kimgio_psd_read( TQImageIO *io )
if( s.atEnd() || !IsValid( header ) ) {
kdDebug(399) << "This PSD file is not valid." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -258,7 +258,7 @@ void kimgio_psd_read( TQImageIO *io )
if( !IsSupported( header ) ) {
kdDebug(399) << "This PSD file is not supported." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -266,12 +266,12 @@ void kimgio_psd_read( TQImageIO *io )
if( !LoadPSD(s, header, img) ) {
kdDebug(399) << "Error loading PSD file." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
io->setImage( img );
- io->setqStatus( 0 );
+ io->seStatus( 0 );
}
diff --git a/kimgio/rgb.cpp b/kimgio/rgb.cpp
index da3888c99..68da172fb 100644
--- a/kimgio/rgb.cpp
+++ b/kimgio/rgb.cpp
@@ -38,12 +38,12 @@ KDE_EXPORT void kimgio_rgb_read(TQImageIO *io)
if (!sgi.readImage(img)) {
io->setImage(TQImage());
- io->setqStatus(-1);
+ io->seStatus(-1);
return;
}
io->setImage(img);
- io->setqStatus(0);
+ io->seStatus(0);
}
@@ -53,9 +53,9 @@ KDE_EXPORT void kimgio_rgb_write(TQImageIO *io)
TQImage img = io->image();
if (!sgi.writeImage(img))
- io->setqStatus(-1);
+ io->seStatus(-1);
- io->setqStatus(0);
+ io->seStatus(0);
}
diff --git a/kimgio/tga.cpp b/kimgio/tga.cpp
index 0b7c3df1e..0a90aa514 100644
--- a/kimgio/tga.cpp
+++ b/kimgio/tga.cpp
@@ -330,7 +330,7 @@ KDE_EXPORT void kimgio_tga_read( TQImageIO *io )
if( s.atEnd() ) {
kdDebug(399) << "This TGA file is not valid." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -338,7 +338,7 @@ KDE_EXPORT void kimgio_tga_read( TQImageIO *io )
if( !IsSupported(tga) ) {
kdDebug(399) << "This TGA file is not supported." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
@@ -349,13 +349,13 @@ KDE_EXPORT void kimgio_tga_read( TQImageIO *io )
if( result == false ) {
kdDebug(399) << "Error loading TGA file." << endl;
io->setImage( TQImage() );
- io->setqStatus( -1 );
+ io->seStatus( -1 );
return;
}
io->setImage( img );
- io->setqStatus( 0 );
+ io->seStatus( 0 );
}
@@ -385,6 +385,6 @@ KDE_EXPORT void kimgio_tga_write( TQImageIO *io )
s << TQ_UINT8( tqAlpha( color ) );
}
- io->setqStatus( 0 );
+ io->seStatus( 0 );
}
diff --git a/kimgio/tiffr.cpp b/kimgio/tiffr.cpp
index 0d3e1d062..2dcf28b9d 100644
--- a/kimgio/tiffr.cpp
+++ b/kimgio/tiffr.cpp
@@ -140,7 +140,7 @@ KDE_EXPORT void kimgio_tiff_read( TQImageIO *io )
TIFFClose( tiff );
io->setImage( image );
- io->setqStatus ( 0 );
+ io->seStatus ( 0 );
}
KDE_EXPORT void kimgio_tiff_write( TQImageIO * )
diff --git a/kimgio/xcf.cpp b/kimgio/xcf.cpp
index ff74f1576..6a87ec237 100644
--- a/kimgio/xcf.cpp
+++ b/kimgio/xcf.cpp
@@ -42,7 +42,7 @@ KDE_EXPORT void kimgio_xcf_read(TQImageIO *io)
KDE_EXPORT void kimgio_xcf_write(TQImageIO *io)
{
kdDebug(399) << "XCF: write support not implemented" << endl;
- io->setqStatus(-1);
+ io->seStatus(-1);
}
///////////////////////////////////////////////////////////////////////////////
@@ -190,7 +190,7 @@ kdDebug() << tag << " " << xcf_image.width << " " << xcf_image.height << " " <<
}
io->setImage(xcf_image.image);
- io->setqStatus(0);
+ io->seStatus(0);
}
diff --git a/kimgio/xview.cpp b/kimgio/xview.cpp
index 3ba866c40..169ad1aa8 100644
--- a/kimgio/xview.cpp
+++ b/kimgio/xview.cpp
@@ -94,7 +94,7 @@ KDE_EXPORT void kimgio_xv_read( TQImageIO *_imageio )
}
_imageio->setImage( image );
- _imageio->setqStatus( 0 );
+ _imageio->seStatus( 0 );
free(block);
return;
@@ -164,6 +164,6 @@ KDE_EXPORT void kimgio_xv_write( TQImageIO *imageio )
}
delete[] buffer;
- imageio->setqStatus( 0 );
+ imageio->seStatus( 0 );
}