summaryrefslogtreecommitdiffstats
path: root/src/shadow.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-06-25 19:05:29 +0300
committerMavridis Philippe <[email protected]>2021-06-25 19:15:54 +0300
commita26e231b46ac6433f6500ddc9ed6b466cf38cc21 (patch)
treeeca43ec26318abfef06040103c74ccd6f1ac02eb /src/shadow.h
parentd5914d4d3223d1bca7b1b845a229af9f30466189 (diff)
downloadtwin-style-suse2-a26e231b46ac6433f6500ddc9ed6b466cf38cc21.tar.gz
twin-style-suse2-a26e231b46ac6433f6500ddc9ed6b466cf38cc21.zip
Conversion Qt3→TQt
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/shadow.h')
-rw-r--r--src/shadow.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shadow.h b/src/shadow.h
index 04facb0..d8814ff 100644
--- a/src/shadow.h
+++ b/src/shadow.h
@@ -30,9 +30,9 @@
#ifndef __FX_SHADOW
#define __FX_SHADOW
-#include <qpixmap.h>
-#include <qimage.h>
-#include <qcolor.h>
+#include <tqpixmap.h>
+#include <tqimage.h>
+#include <tqcolor.h>
class ShadowEngine
{
@@ -41,9 +41,9 @@ class ShadowEngine
~ShadowEngine();
void setThickness(int thickness) { thickness_ = thickness; }
void setMultiplicationFactor(float factor) { multiplicationFactor_ = factor; }
- QImage makeShadow(const QPixmap& textPixmap, const QColor &bgColor);
+ TQImage makeShadow(const TQPixmap& textPixmap, const TQColor &bgColor);
private:
- float decay(QImage& source, int x, int y);
+ float decay(TQImage& source, int x, int y);
int thickness_;
float multiplicationFactor_;