diff options
Diffstat (limited to 'kimgio/g3r.cpp')
-rw-r--r-- | kimgio/g3r.cpp | 14 |
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 } |