KImgIO
tga.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef KIMG_TGA_H
00011 #define KIMG_TGA_H
00012
00013 #include <QtGui/QImageIOPlugin>
00014
00015 class TGAHandler : public QImageIOHandler
00016 {
00017 public:
00018 TGAHandler();
00019
00020 bool canRead() const;
00021 bool read(QImage *image);
00022 bool write(const QImage &image);
00023
00024 QByteArray name() const;
00025
00026 static bool canRead(QIODevice *device);
00027 };
00028
00029 #endif
00030