diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:02 -0600 |
commit | a51cd9949c4e6c726a84a61de3cfadd30cefb5c7 (patch) | |
tree | a65321bcfdb90583bcc7ef3a90fa357f6632e54c /kimgio/psd.cpp | |
parent | 984c25aa6969e55896e9a13c8e7f7b8a58991a4e (diff) | |
download | tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.tar.gz tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kimgio/psd.cpp')
-rw-r--r-- | kimgio/psd.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kimgio/psd.cpp b/kimgio/psd.cpp index 5fa0d81a1..8859d1541 100644 --- a/kimgio/psd.cpp +++ b/kimgio/psd.cpp @@ -119,15 +119,15 @@ namespace { // Private. // Skip mode data. s >> tmp; - s.tqdevice()->tqat( s.tqdevice()->tqat() + tmp ); + s.device()->at( s.device()->at() + tmp ); // Skip image resources. s >> tmp; - s.tqdevice()->tqat( s.tqdevice()->tqat() + tmp ); + s.device()->at( s.device()->at() + tmp ); // Skip the reserved data. s >> tmp; - s.tqdevice()->tqat( s.tqdevice()->tqat() + tmp ); + s.device()->at( s.device()->at() + tmp ); // Find out if the data is compressed. // Known values: @@ -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->seStatus( -1 ); + io->setStatus( -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->seStatus( -1 ); + io->setStatus( -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->seStatus( -1 ); + io->setStatus( -1 ); return; } io->setImage( img ); - io->seStatus( 0 ); + io->setStatus( 0 ); } |