summaryrefslogtreecommitdiffstats
path: root/client/shadow.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-06-26 16:06:40 +0300
committerMavridis Philippe <mavridisf@gmail.com>2021-06-26 16:35:30 +0300
commit2bc11f9dc783f26bf99f44515e92e49e8d2348fc (patch)
treecf09be0be2bd1caea1d7faed0c0afdb7ccc3a45f /client/shadow.h
parent9ef5a045dd516e8223b7aa97a46ac94bbd5839ae (diff)
downloadtwin-style-dekorator-2bc11f9dc783f26bf99f44515e92e49e8d2348fc.tar.gz
twin-style-dekorator-2bc11f9dc783f26bf99f44515e92e49e8d2348fc.zip
Conversion Qt3→TQt
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'client/shadow.h')
-rw-r--r--client/shadow.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/client/shadow.h b/client/shadow.h
index 75d76f4..2ddfcca 100644
--- a/client/shadow.h
+++ b/client/shadow.h
@@ -34,9 +34,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
{
@@ -45,9 +45,9 @@ class ShadowEngine
~ShadowEngine();
void setThickness(int thickness) { thickness_ = thickness; }
void setMultiplicationFactor(double factor) { multiplicationFactor_ = factor; }
- QImage makeShadow(const QPixmap& textPixmap, const QColor &bgColor);
+ TQImage makeShadow(const TQPixmap& textPixmap, const TQColor &bgColor);
private:
- double decay(QImage& source, int x, int y);
+ double decay(TQImage& source, int x, int y);
int thickness_;
double multiplicationFactor_;