From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kimgio/hdr.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kimgio/hdr.cpp') diff --git a/kimgio/hdr.cpp b/kimgio/hdr.cpp index edc49f91b..bf8bc5f03 100644 --- a/kimgio/hdr.cpp +++ b/kimgio/hdr.cpp @@ -10,8 +10,8 @@ #include "hdr.h" -#include -#include +#include +#include #include #include @@ -33,7 +33,7 @@ namespace { // Private. // read an old style line from the hdr image file // if 'first' is true the first byte is already read - static bool Read_Old_Line (uchar * image, int width, QDataStream & s) + static bool Read_Old_Line (uchar * image, int width, TQDataStream & s) { int rshift = 0; int i; @@ -94,7 +94,7 @@ namespace { // Private. } // Load the HDR image. - static bool LoadHDR( QDataStream & s, const int width, const int height, QImage & img ) + static bool LoadHDR( TQDataStream & s, const int width, const int height, TQImage & img ) { uchar val, code; @@ -104,7 +104,7 @@ namespace { // Private. return false; } - QMemArray image( width * 4 ); + TQMemArray image( width * 4 ); for (int cline = 0; cline < height; cline++) { @@ -199,7 +199,7 @@ namespace { // Private. } // namespace -KDE_EXPORT void kimgio_hdr_read( QImageIO * io ) +KDE_EXPORT void kimgio_hdr_read( TQImageIO * io ) { int len; char line[MAXLINE]; @@ -242,9 +242,9 @@ KDE_EXPORT void kimgio_hdr_read( QImageIO * io ) return; } - QDataStream s( io->ioDevice() ); + TQDataStream s( io->ioDevice() ); - QImage img; + TQImage img; if( !LoadHDR(s, width, height, img) ) { kdDebug(399) << "Error loading HDR file." << endl; @@ -258,7 +258,7 @@ KDE_EXPORT void kimgio_hdr_read( QImageIO * io ) } -KDE_EXPORT void kimgio_hdr_write( QImageIO * ) +KDE_EXPORT void kimgio_hdr_write( TQImageIO * ) { // intentionally not implemented (since writing low dynamic range data to a HDR file is nonsense.) } -- cgit v1.2.1