summaryrefslogtreecommitdiffstats
path: root/kimgio/g3r.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kimgio/g3r.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kimgio/g3r.cpp')
-rw-r--r--kimgio/g3r.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kimgio/g3r.cpp b/kimgio/g3r.cpp
index d67aa2da6..1efb07434 100644
--- a/kimgio/g3r.cpp
+++ b/kimgio/g3r.cpp
@@ -6,15 +6,15 @@
#include <tiffio.h>
-#include <qimage.h>
-#include <qfile.h>
+#include <tqimage.h>
+#include <tqfile.h>
#include "g3r.h"
-KDE_EXPORT void kimgio_g3_read( QImageIO *io )
+KDE_EXPORT void kimgio_g3_read( TQImageIO *io )
{
- // This won't work if io is not a QFile !
- TIFF *tiff = TIFFOpen(QFile::encodeName(io->fileName()), "r");
+ // This won't work if io is not a TQFile !
+ TIFF *tiff = TIFFOpen(TQFile::encodeName(io->fileName()), "r");
if (!tiff)
return;
@@ -26,7 +26,7 @@ KDE_EXPORT void kimgio_g3_read( QImageIO *io )
return;
scanlength = TIFFScanlineSize(tiff);
- QImage image(width, height, 1, 0, QImage::BigEndian);
+ TQImage image(width, height, 1, 0, TQImage::BigEndian);
if (image.isNull() || scanlength != image.bytesPerLine())
{
@@ -44,7 +44,7 @@ KDE_EXPORT void kimgio_g3_read( QImageIO *io )
}
-KDE_EXPORT void kimgio_g3_write(QImageIO *)
+KDE_EXPORT void kimgio_g3_write(TQImageIO *)
{
// TODO: stub
}