From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/kshadowengine.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kdesktop/kshadowengine.h') diff --git a/kdesktop/kshadowengine.h b/kdesktop/kshadowengine.h index 3649ea3f4..33391e464 100644 --- a/kdesktop/kshadowengine.h +++ b/kdesktop/kshadowengine.h @@ -24,9 +24,9 @@ #ifndef __FX_SHADOW #define __FX_SHADOW -#include -#include -#include +#include +#include +#include class KShadowSettings; @@ -77,7 +77,7 @@ class KShadowEngine * @param bgColor the background color * @return the resulting image */ - QImage makeShadow(const QPixmap& textPixmap, const QColor &bgColor); + TQImage makeShadow(const TQPixmap& textPixmap, const TQColor &bgColor); private: // No static objects in libs, and no static deleters in kdefx... @@ -88,24 +88,24 @@ class KShadowEngine /* * a simple algorithm with 3 pixels thickness */ - double defaultDecay(QImage& source, int x, int y); + double defaultDecay(TQImage& source, int x, int y); /* * a slower algorithm where the influence of a pixel * is qGray(px)/(abs(dx) + abs(dy) +1). */ - double doubleLinearDecay(QImage& source, int x, int y); + double doubleLinearDecay(TQImage& source, int x, int y); /* * a very slow algorithm where the influence of a pixel * is qGray(px)/(sqrt(sqr(dx) + sqr(dy)) +1). */ - double radialDecay(QImage& source, int x, int y); + double radialDecay(TQImage& source, int x, int y); /* * a nice/fast algorithm proposed by Bernardo Hung */ - double noDecay(QImage& source, int x, int y); + double noDecay(TQImage& source, int x, int y); void *d; }; -- cgit v1.2.3