diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kstyles/keramik/colorutil.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kstyles/keramik/colorutil.cpp')
-rw-r--r-- | kstyles/keramik/colorutil.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kstyles/keramik/colorutil.cpp b/kstyles/keramik/colorutil.cpp index 71bf75873..81d5eeb7a 100644 --- a/kstyles/keramik/colorutil.cpp +++ b/kstyles/keramik/colorutil.cpp @@ -19,13 +19,13 @@ */ // $Id$ -#include <qcolor.h> +#include <tqcolor.h> #include "colorutil.h" namespace Keramik { - QColor ColorUtil::lighten(QColor in, int factor) + TQColor ColorUtil::lighten(TQColor in, int factor) { if (factor > 100) { @@ -41,7 +41,7 @@ namespace Keramik int hd = int(mShare*diff); int delta = int((diff - hd)*7.55); - QColor wrk = in.light(100+hd); + TQColor wrk = in.light(100+hd); int r = wrk.red(); int g = wrk.green(); @@ -55,7 +55,7 @@ namespace Keramik if (g>255) g=255; if (b>255) b=255; - return QColor(r,g,b); + return TQColor(r,g,b); } return in; |