diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
commit | bf7f88413be3831a9372d323d02fc0335b9f9188 (patch) | |
tree | 516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/imageutils/croppedqimage.h | |
parent | e238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff) | |
download | gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip |
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/imageutils/croppedqimage.h')
-rw-r--r-- | src/imageutils/croppedqimage.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/imageutils/croppedqimage.h b/src/imageutils/croppedqimage.h index c8c2ac3..f13334f 100644 --- a/src/imageutils/croppedqimage.h +++ b/src/imageutils/croppedqimage.h @@ -18,23 +18,23 @@ */ -#ifndef CROPPED_QIMAGE_H -#define CROPPED_QIMAGE_H +#ifndef CROPPED_TQIMAGE_H +#define CROPPED_TQIMAGE_H -#include <qimage.h> +#include <tqimage.h> namespace ImageUtils { -class CroppedQImage - : public QImage +class CroppedTQImage + : public TQImage { public: - CroppedQImage( const QImage& im, const QRect& rect ); - CroppedQImage& operator= ( const QImage& im ); + CroppedTQImage( const TQImage& im, const TQRect& rect ); + CroppedTQImage& operator= ( const TQImage& im ); void normalize(); private: - QImage orig; + TQImage orig; }; } // namespace |