summaryrefslogtreecommitdiffstats
path: root/konsole
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-27 21:28:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-31 09:54:38 +0900
commit8e1816900bb891be1f9e1268e2971d2e151e23a9 (patch)
treeb17c08a6298a7bb7c11ce75e06b417ecdfd52723 /konsole
parenteb0d989c939662a38265ff9116989080a3082cc5 (diff)
downloadtdebase-8e1816900bb891be1f9e1268e2971d2e151e23a9.tar.gz
tdebase-8e1816900bb891be1f9e1268e2971d2e151e23a9.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 014f6d2586905e03681aa6fb9a85c2c8190e53f4)
Diffstat (limited to 'konsole')
-rw-r--r--konsole/konsole/TEWidget.cpp4
-rw-r--r--konsole/konsole/konsole.h2
-rw-r--r--konsole/konsole/schema.h4
3 files changed, 1 insertions, 9 deletions
diff --git a/konsole/konsole/TEWidget.cpp b/konsole/konsole/TEWidget.cpp
index 88b5c8dce..0d0b11994 100644
--- a/konsole/konsole/TEWidget.cpp
+++ b/konsole/konsole/TEWidget.cpp
@@ -636,11 +636,7 @@ void TEWidget::drawAttrStr(TQPainter &paint, TQRect rect,
if (pm)
paint.setBackgroundMode( Qt::TransparentMode );
if (clear || (blinking && (attr->r & RE_BLINK))) {
-#ifdef USE_QT4
- paint.eraseRect(rect);
-#else // USE_QT4
erase(rect);
-#endif // USE_QT4
}
}
else
diff --git a/konsole/konsole/konsole.h b/konsole/konsole/konsole.h
index 43ef2203e..95e99cdcd 100644
--- a/konsole/konsole/konsole.h
+++ b/konsole/konsole/konsole.h
@@ -297,7 +297,7 @@ private:
TQPtrDict<TDERadioAction> session2action;
TQPtrList<TESession> sessions;
- TQIntDict<KSimpleConfig> no2command; //QT4 - convert to QList
+ TQIntDict<KSimpleConfig> no2command;
KSimpleConfig* m_defaultSession;
TQString m_defaultSessionFilename;
diff --git a/konsole/konsole/schema.h b/konsole/konsole/schema.h
index 618683c17..c32f26221 100644
--- a/konsole/konsole/schema.h
+++ b/konsole/konsole/schema.h
@@ -187,10 +187,6 @@ public:
uint count() const { return TQPtrList<ColorSchema>::count(); } ;
const ColorSchema *at(unsigned int i)
{ return TQPtrList<ColorSchema>::at(i); } ;
-#ifdef USE_QT4
- const ColorSchema *at(unsigned int i)
- { return at(i); } ;
-#endif // USE_QT4
void sort() {TQPtrList<ColorSchema>::sort();};