diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-27 21:28:15 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-27 21:28:15 +0900 |
commit | 014f6d2586905e03681aa6fb9a85c2c8190e53f4 (patch) | |
tree | c5adcc760a4faedd8a7c690963b2c61af1a68325 /ksplashml | |
parent | 2317bee2466f4613df68e7d6b7d7eee46befd359 (diff) | |
download | tdebase-014f6d2586905e03681aa6fb9a85c2c8190e53f4.tar.gz tdebase-014f6d2586905e03681aa6fb9a85c2c8190e53f4.zip |
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksplashml')
-rw-r--r-- | ksplashml/wndmain.cpp | 3 | ||||
-rw-r--r-- | ksplashml/wndmain.h | 10 |
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); |