summaryrefslogtreecommitdiffstats
path: root/kimgio/tga.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
commit56160bf4dfe503631ef6373367b281f081bab2b4 (patch)
tree7fcea2ffd9c3420af999c3dcad0ed032eef93956 /kimgio/tga.cpp
parent13281e2856a2ef43bbab78c5528470309c23aa77 (diff)
downloadtdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz
tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'kimgio/tga.cpp')
-rw-r--r--kimgio/tga.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kimgio/tga.cpp b/kimgio/tga.cpp
index f9fc02b5e..0b7c3df1e 100644
--- a/kimgio/tga.cpp
+++ b/kimgio/tga.cpp
@@ -324,13 +324,13 @@ KDE_EXPORT void kimgio_tga_read( TQImageIO *io )
// Read image header.
TgaHeader tga;
s >> tga;
- s.device()->at( TgaHeader::SIZE + tga.id_length );
+ s.tqdevice()->tqat( TgaHeader::SIZE + tga.id_length );
// Check image file format.
if( s.atEnd() ) {
kdDebug(399) << "This TGA file is not valid." << endl;
io->setImage( TQImage() );
- io->seStatus( -1 );
+ io->setqStatus( -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->seStatus( -1 );
+ io->setqStatus( -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->seStatus( -1 );
+ io->setqStatus( -1 );
return;
}
io->setImage( img );
- io->seStatus( 0 );
+ io->setqStatus( 0 );
}
@@ -385,6 +385,6 @@ KDE_EXPORT void kimgio_tga_write( TQImageIO *io )
s << TQ_UINT8( tqAlpha( color ) );
}
- io->seStatus( 0 );
+ io->setqStatus( 0 );
}