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-27 21:28:15 +0900
commit014f6d2586905e03681aa6fb9a85c2c8190e53f4 (patch)
treec5adcc760a4faedd8a7c690963b2c61af1a68325 /konsole
parent2317bee2466f4613df68e7d6b7d7eee46befd359 (diff)
downloadtdebase-014f6d2586905e03681aa6fb9a85c2c8190e53f4.tar.gz
tdebase-014f6d2586905e03681aa6fb9a85c2c8190e53f4.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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();};