summaryrefslogtreecommitdiffstats
path: root/kimgio/psd.cpp
diff options
context:
space:
mode:
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 5fa0d81a..8859d154 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 );
}