summaryrefslogtreecommitdiffstats
path: root/kicker/libkicker
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-24 11:51:11 -0600
committerTimothy Pearson <[email protected]>2011-12-24 11:51:11 -0600
commita2146f655c7ca3b10cf50833eefd483e635e1f4a (patch)
tree2fe7d47557e13f56bda5b684750de2a8f98fe484 /kicker/libkicker
parentb492b550f35c84160958775c14ea7037c5b12181 (diff)
downloadtdebase-a2146f655c7ca3b10cf50833eefd483e635e1f4a.tar.gz
tdebase-a2146f655c7ca3b10cf50833eefd483e635e1f4a.zip
Rename a few stragglers
Diffstat (limited to 'kicker/libkicker')
-rw-r--r--kicker/libkicker/global.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kicker/libkicker/global.cpp b/kicker/libkicker/global.cpp
index 6f6f3a7fb..d4735c2ba 100644
--- a/kicker/libkicker/global.cpp
+++ b/kicker/libkicker/global.cpp
@@ -328,7 +328,7 @@ void colorize(TQImage& image)
{
KConfig *config = KGlobal::config();
config->setGroup("WM");
- TQColor color = TQApplication::tqpalette().active().highlight();
+ TQColor color = TQApplication::palette().active().highlight();
TQColor activeTitle = config->readColorEntry("activeBackground", &color);
TQColor inactiveTitle = config->readColorEntry("inactiveBackground", &color);
@@ -336,7 +336,7 @@ void colorize(TQImage& image)
int h1, s1, v1, h2, s2, v2, h3, s3, v3;
activeTitle.hsv(&h1, &s1, &v1);
inactiveTitle.hsv(&h2, &s2, &v2);
- TQApplication::tqpalette().active().background().hsv(&h3, &s3, &v3);
+ TQApplication::palette().active().background().hsv(&h3, &s3, &v3);
if ( (kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < kAbs(h2-h3)+kAbs(s2-s3)+kAbs(v2-v3)) &&
((kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < 32) || (s1 < 32)) && (s2 > s1))