summaryrefslogtreecommitdiffstats
path: root/kdecore/kstartupinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kstartupinfo.h')
-rw-r--r--kdecore/kstartupinfo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/kdecore/kstartupinfo.h b/kdecore/kstartupinfo.h
index e35bdba56..da3018d8c 100644
--- a/kdecore/kstartupinfo.h
+++ b/kdecore/kstartupinfo.h
@@ -28,6 +28,10 @@ DEALINGS IN THE SOFTWARE.
#include <sys/types.h>
#include <tqobject.h>
+#ifdef Q_MOC_RUN
+#define Q_WS_X11
+#endif // Q_MOC_RUN
+
#ifdef Q_WS_X11 // FIXME(E): Redo in a less X11-specific way
#include <tqcstring.h>
@@ -61,9 +65,10 @@ class KStartupInfoPrivate;
* @author Lubos Lunak <l.lunak@kde.org>
*/
class KDECORE_EXPORT KStartupInfo
- : public QObject
+ : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* By default, the startup notification is ended for the application