From 33c7d159890b81da8f44ee330a349e3abd553bec Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 25 Sep 2023 12:23:23 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro --- konsole/konsole/TEWidget.cpp | 2 +- konsole/konsole/TEWidget.h | 4 ++-- konsole/konsole/TEmulation.h | 2 +- konsole/konsole/session.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'konsole') diff --git a/konsole/konsole/TEWidget.cpp b/konsole/konsole/TEWidget.cpp index 8054f98e9..3d22c4bd2 100644 --- a/konsole/konsole/TEWidget.cpp +++ b/konsole/konsole/TEWidget.cpp @@ -647,7 +647,7 @@ void TEWidget::drawAttrStr(TQPainter &paint, TQRect rect, // draw background colors with 75% opacity if ( draw_translucent_background_colors && argb_visual && tqAlpha(blend_color) < 0xff ) { - QRgb col = bColor.rgb(); + TQRgb col = bColor.rgb(); TQ_UINT8 salpha = 192; TQ_UINT8 dalpha = 255 - salpha; diff --git a/konsole/konsole/TEWidget.h b/konsole/konsole/TEWidget.h index 8ef1ba9ed..047c04b4b 100644 --- a/konsole/konsole/TEWidget.h +++ b/konsole/konsole/TEWidget.h @@ -53,7 +53,7 @@ public: TEWidget(TQWidget *parent=0, const char *name=0); virtual ~TEWidget(); - void setBlendColor(const QRgb color) { blend_color = color; } + void setBlendColor(const TQRgb color) { blend_color = color; } void setDefaultBackColor(const TQColor& color); TQColor getDefaultBackColor(); @@ -339,7 +339,7 @@ private: bool m_isIMEdit; bool m_isIMSel; - QRgb blend_color; + TQRgb blend_color; private slots: void drop_menu_activated(int item); diff --git a/konsole/konsole/TEmulation.h b/konsole/konsole/TEmulation.h index 56b099ea6..e6050a9da 100644 --- a/konsole/konsole/TEmulation.h +++ b/konsole/konsole/TEmulation.h @@ -31,7 +31,7 @@ enum { NOTIFYNORMAL=0, NOTIFYBELL=1, NOTIFYACTIVITY=2, NOTIFYSILENCE=3 }; -class TEmulation : public QObject +class TEmulation : public TQObject { TQ_OBJECT public: diff --git a/konsole/konsole/session.h b/konsole/konsole/session.h index 6a8b8d065..3b5f211fa 100644 --- a/konsole/konsole/session.h +++ b/konsole/konsole/session.h @@ -208,7 +208,7 @@ private: bool xon_xoff; bool fullScripting; - QString stateIconName; + TQString stateIconName; TQString pgm; TQStrList args; -- cgit v1.2.3