summaryrefslogtreecommitdiffstats
path: root/src/imageutils/imageutils.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
commitbf7f88413be3831a9372d323d02fc0335b9f9188 (patch)
tree516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/imageutils/imageutils.h
parente238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff)
downloadgwenview-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/imageutils.h')
-rw-r--r--src/imageutils/imageutils.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/imageutils/imageutils.h b/src/imageutils/imageutils.h
index f234a07..b661eda 100644
--- a/src/imageutils/imageutils.h
+++ b/src/imageutils/imageutils.h
@@ -1,7 +1,7 @@
// vim: set tabstop=4 shiftwidth=4 noexpandtab
/*
Gwenview - A simple image viewer for KDE
-Copyright 2000-2004 Aurélien Gâteau
+Copyright 2000-2004 Aur�lien G�teau
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -21,8 +21,8 @@ Copyright 2000-2004 Aurélien Gâteau
#ifndef IMAGEUTILS_H
#define IMAGEUTILS_H
-// Qt
-#include <qimage.h>
+// TQt
+#include <tqimage.h>
// Local
#include "imageutils/orientation.h"
@@ -30,20 +30,20 @@ Copyright 2000-2004 Aurélien Gâteau
namespace ImageUtils {
enum SmoothAlgorithm { SMOOTH_NONE, SMOOTH_FAST, SMOOTH_NORMAL, SMOOTH_BEST };
- QImage scale(const QImage& image, int width, int height,
- SmoothAlgorithm alg, QImage::ScaleMode mode = QImage::ScaleFree, double blur = 1.0);
+ TQImage scale(const TQImage& image, int width, int height,
+ SmoothAlgorithm alg, TQ_ScaleMode mode = TQ_ScaleFree, double blur = 1.0);
int extraScalePixels( SmoothAlgorithm alg, double zoom, double blur = 1.0 );
- QImage transform(const QImage& img, Orientation orientation);
+ TQImage transform(const TQImage& img, Orientation orientation);
- QImage changeBrightness( const QImage& image, int brightness );
+ TQImage changeBrightness( const TQImage& image, int brightness );
- QImage changeContrast( const QImage& image, int contrast );
+ TQImage changeContrast( const TQImage& image, int contrast );
- QImage changeGamma( const QImage& image, int gamma );
+ TQImage changeGamma( const TQImage& image, int gamma );
- QWMatrix transformMatrix(Orientation orientation);
+ TQWMatrix transformMatrix(Orientation orientation);
}
#endif