summaryrefslogtreecommitdiffstats
path: root/kimgio/psd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:57:02 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-02 19:04:59 +0200
commit41b1d53a0144afe4c31425c18af25c2d6ade881b (patch)
tree4bf4a434c5db64325f317e56cc9d8d2a729df3e4 /kimgio/psd.cpp
parente2867c1f1eec514d56386f2fc5350eaaf760532a (diff)
downloadtdelibs-41b1d53a0144afe4c31425c18af25c2d6ade881b.tar.gz
tdelibs-41b1d53a0144afe4c31425c18af25c2d6ade881b.zip
Remove additional unneeded tq method conversions
(cherry picked from commit a51cd9949c4e6c726a84a61de3cfadd30cefb5c7)
Diffstat (limited to 'kimgio/psd.cpp')
-rw-r--r--kimgio/psd.cpp14
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 );
}