summaryrefslogtreecommitdiffstats
path: root/ksplashml/wndmain.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-28 03:25:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-28 03:25:47 +0000
commit0c7d4bb71f9bb7ec47eccd57523c38dac41abed1 (patch)
tree3823b6cafc980efc7c54e923a092eb779407fd6d /ksplashml/wndmain.h
parentf1fdec42303ca53d085302ea2af9110cd1d79570 (diff)
downloadtdebase-0c7d4bb71f9bb7ec47eccd57523c38dac41abed1.tar.gz
tdebase-0c7d4bb71f9bb7ec47eccd57523c38dac41abed1.zip
Fix the following problems under Qt4:
* Konsole compilation failure * ksplash exit failure * kicker rounded tip masking behaviour * kwin auto-exit issue git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1223001 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksplashml/wndmain.h')
-rw-r--r--ksplashml/wndmain.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/ksplashml/wndmain.h b/ksplashml/wndmain.h
index c1fa4ae45..40457ad0d 100644
--- a/ksplashml/wndmain.h
+++ b/ksplashml/wndmain.h
@@ -39,6 +39,7 @@ class KConfig;
class KSplash: public TQWidget, virtual public KSplashIface
{
Q_OBJECT
+ TQ_OBJECT
public:
KSplash(const char *name = "ksplash");
@@ -53,9 +54,19 @@ public:
ASYNC setStartupItemCount( int count );
ASYNC programStarted( TQString programIcon, TQString programName, TQString description );
ASYNC startupComplete();
- ASYNC close();
- ASYNC hide();
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);