summaryrefslogtreecommitdiffstats
path: root/kimgio/ico.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
commit13281e2856a2ef43bbab78c5528470309c23aa77 (patch)
tree936bcf8145dc235004c73e9fb3d6b3dca9aa370b /kimgio/ico.cpp
parente81c741bb2cf337a43524e75f22f7728ce17a343 (diff)
downloadtdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.tar.gz
tdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kimgio/ico.cpp')
-rw-r--r--kimgio/ico.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kimgio/ico.cpp b/kimgio/ico.cpp
index b7208e577..b55b52ce0 100644
--- a/kimgio/ico.cpp
+++ b/kimgio/ico.cpp
@@ -243,7 +243,7 @@ namespace
extern "C" KDE_EXPORT void kimgio_ico_read( TQImageIO* io )
{
- TQIODevice::Offset offset = io->ioDevice()->tqat();
+ TQIODevice::Offset offset = io->ioDevice()->at();
TQDataStream stream( io->ioDevice() );
stream.setByteOrder( TQDataStream::LittleEndian );
@@ -295,7 +295,7 @@ extern "C" KDE_EXPORT void kimgio_ico_read( TQImageIO* io )
offset + selected->offset > io->ioDevice()->size() )
return;
- io->ioDevice()->tqat( offset + selected->offset );
+ io->ioDevice()->at( offset + selected->offset );
TQImage icon;
if ( loadFromDIB( stream, *selected, icon ) )
{
@@ -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);
}
}
@@ -334,7 +334,7 @@ void kimgio_ico_write(TQImageIO *io)
if (!qt_write_dib(dib, pixels))
return;
- uint hdrPos = dib.device()->tqat();
+ uint hdrPos = dib.device()->at();
if (!qt_write_dib(dib, mask))
return;
memmove(dibData.data() + hdrPos, dibData.data() + hdrPos + BMP_WIN + 8, dibData.size() - hdrPos - BMP_WIN - 8);
@@ -361,14 +361,14 @@ void kimgio_ico_write(TQImageIO *io)
rec.dibSize = dibData.size();
ico << rec.width << rec.height << rec.colors
<< rec.hotspotX << rec.hotspotY << rec.dibSize;
- rec.dibOffset = ico.device()->tqat() + sizeof(rec.dibOffset);
+ rec.dibOffset = ico.device()->at() + sizeof(rec.dibOffset);
ico << rec.dibOffset;
BMP_INFOHDR dibHeader;
- dib.device()->tqat(0);
+ dib.device()->at(0);
dib >> dibHeader;
dibHeader.biHeight = io->image().height() << 1;
- dib.device()->tqat(0);
+ dib.device()->at(0);
dib << dibHeader;
ico.writeRawBytes(dibData.data(), dibData.size());