diff options
Diffstat (limited to 'qtinterface/interface_tqt3/tqimage.h')
-rw-r--r-- | qtinterface/interface_tqt3/tqimage.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/qtinterface/interface_tqt3/tqimage.h b/qtinterface/interface_tqt3/tqimage.h index ba0ada7..216367a 100644 --- a/qtinterface/interface_tqt3/tqimage.h +++ b/qtinterface/interface_tqt3/tqimage.h @@ -23,45 +23,6 @@ Boston, MA 02110-1301, USA. #define TQT_TQIMAGE_H #include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QImage class -// For Qt3, no changes are needed - #include <ntqimage.h> -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QImage class -// For Qt4, some changes are needed - -#include <tqt4/Qt/ntqimage.h> -#include <Qt/qimagereader.h> -#include <Qt/qimagewriter.h> - -class TQImageIO { -public: - TQImageIO(); - TQImageIO( QIODevice *ioDevice, const char *format ); - TQImageIO( const QString &fileName, const char* format ); - ~TQImageIO(); - - bool read(); - bool write(); - - const QImage &image() const; - void setImage( const QImage & ); - -protected: - QImageReader *m_imageReader; - QImageWriter *m_imageWriter; - - QImage m_currentImage; -}; - -#endif // USE_QT4 - #endif /* TQT_TQIMAGE_H */ |