summaryrefslogtreecommitdiffstats
path: root/kxkb
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:23:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:28:34 +0900
commit33c7d159890b81da8f44ee330a349e3abd553bec (patch)
tree4ca5c12ef5848d45ef05de99e51763b0a2de22e3 /kxkb
parenteef7c094ea9c14a5e0f523adf341abfe499996c5 (diff)
downloadtdebase-33c7d159890b81da8f44ee330a349e3abd553bec.tar.gz
tdebase-33c7d159890b81da8f44ee330a349e3abd553bec.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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);