From 014f6d2586905e03681aa6fb9a85c2c8190e53f4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 27 Aug 2023 21:28:15 +0900 Subject: Drop USE_TQT4 code Signed-off-by: Michele Calgaro --- ksplashml/wndmain.cpp | 3 --- ksplashml/wndmain.h | 10 ---------- 2 files changed, 13 deletions(-) (limited to 'ksplashml') 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); -- cgit v1.2.1