diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-04 01:44:13 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-04 01:44:13 +0000 |
commit | c9dc3907763cbf0b0e6164d793291bd2659f1534 (patch) | |
tree | 3359387715ee5e306451f1bcb74b900b608c9946 /qtinterface/tqimage.h | |
parent | 4c3c7eaa2d225ecc0c16644f1a23e848bf539164 (diff) | |
download | tqtinterface-c9dc3907763cbf0b0e6164d793291bd2659f1534.tar.gz tqtinterface-c9dc3907763cbf0b0e6164d793291bd2659f1534.zip |
Now compiles kdelibs/dcop folder properly...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1158880 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqimage.h')
-rw-r--r-- | qtinterface/tqimage.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/qtinterface/tqimage.h b/qtinterface/tqimage.h index f20d7ce..0e93bb1 100644 --- a/qtinterface/tqimage.h +++ b/qtinterface/tqimage.h @@ -38,7 +38,29 @@ Boston, MA 02110-1301, USA. // Reimplement the QImage class // For Qt4, some changes are needed -#include <Qt/qimage.h> +#include <tqt4/Qt/qimage.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 |