KImgIO
pic_io_handler.h
Go to the documentation of this file.
00001 00021 #ifndef __PIC_IO_HANDLER_H__ 00022 #define __PIC_IO_HANDLER_H__ 00023 00024 #include "pic_rw.h" 00025 #include <QtCore/QVariant> 00026 #include <QtGui/QImage> 00027 00028 #include <iostream> 00029 00030 class SoftimagePICHandler : public QImageIOHandler { 00031 public: 00032 virtual bool canRead() const; 00033 virtual bool read(QImage * image); 00034 virtual bool write(const QImage &); 00035 static bool canRead(QIODevice *device); 00036 QByteArray name() const; 00037 00038 QVariant option(ImageOption option) const; 00039 bool supportsOption(ImageOption option) const; 00040 }; 00041 00042 #endif//__PIC_IO_HANDLER_H__
KDE 4.6 API Reference