summaryrefslogtreecommitdiffstats
path: root/kxkb
diff options
context:
space:
mode:
Diffstat (limited to 'kxkb')
-rw-r--r--kxkb/kxkbtraywindow.h2
-rw-r--r--kxkb/pixmap.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kxkb/kxkbtraywindow.h b/kxkb/kxkbtraywindow.h
index eb6a426a2..7d1412ae7 100644
--- a/kxkb/kxkbtraywindow.h
+++ b/kxkb/kxkbtraywindow.h
@@ -28,7 +28,7 @@ class XkbRules;
catching keyboard/mouse events and displaying menu when selected
*/
-class KxkbLabelController: public QObject
+class KxkbLabelController: public TQObject
{
// TQ_OBJECT
diff --git a/kxkb/pixmap.cpp b/kxkb/pixmap.cpp
index c7e08a741..45fb935ec 100644
--- a/kxkb/pixmap.cpp
+++ b/kxkb/pixmap.cpp
@@ -292,8 +292,8 @@ void LayoutIcon::dimPixmap(TQPixmap& pm)
for (int y=0; y<image.height(); y++)
for(int x=0; x<image.width(); x++)
{
- QRgb rgb = image.pixel(x,y);
- QRgb dimRgb(tqRgb(tqRed(rgb)*3/4, tqGreen(rgb)*3/4, tqBlue(rgb)*3/4));
+ TQRgb rgb = image.pixel(x,y);
+ TQRgb dimRgb(tqRgb(tqRed(rgb)*3/4, tqGreen(rgb)*3/4, tqBlue(rgb)*3/4));
image.setPixel(x, y, dimRgb);
}
pm.convertFromImage(image);