diff options
Diffstat (limited to 'src/shadow.h')
-rw-r--r-- | src/shadow.h | 10 |
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_; |