summaryrefslogtreecommitdiffstats
path: root/ksplashml
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 /ksplashml
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 'ksplashml')
-rw-r--r--ksplashml/wndmain.cpp3
-rw-r--r--ksplashml/wndmain.h10
2 files changed, 0 insertions, 13 deletions
diff --git a/ksplashml/wndmain.cpp b/ksplashml/wndmain.cpp
index 81d765a99..3fd1d786d 100644
--- a/ksplashml/wndmain.cpp
+++ b/ksplashml/wndmain.cpp
@@ -313,9 +313,6 @@ void KSplash::startupComplete()
void KSplash::close()
{
TQWidget::close();
-#ifdef USE_QT4
- exit(0);
-#endif // USE_QT4
}
void KSplash::hide()
diff --git a/ksplashml/wndmain.h b/ksplashml/wndmain.h
index 23f89b76d..a5ad616b2 100644
--- a/ksplashml/wndmain.h
+++ b/ksplashml/wndmain.h
@@ -56,17 +56,7 @@ public:
ASYNC startupComplete();
ASYNC show();
ASYNC hide();
-
- // [FIXME] How can I more easily let Qt know about these slots? moc-tqt perhaps?
- // More importantly, how was this code even running under Qt3?
- // Was it somehow running the TQWidget::close() slot instead of the KSplash::close() non-slot method?
- // Either way it looks like accidental/undefined behaviour to me...
-#ifndef Q_MOC_RUN
ASYNC close();
-#else // Q_MOC_RUN
-public slots:
- void close();
-#endif // Q_MOC_RUN
signals:
void stepsChanged(int);