summaryrefslogtreecommitdiffstats
path: root/kdecore/kxmessages.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kxmessages.h')
-rw-r--r--kdecore/kxmessages.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/kdecore/kxmessages.h b/kdecore/kxmessages.h
index 256b69f91..a5604c817 100644
--- a/kdecore/kxmessages.h
+++ b/kdecore/kxmessages.h
@@ -29,6 +29,11 @@ DEALINGS IN THE SOFTWARE.
#include <tqcstring.h>
#include <tqmap.h>
#include <kdelibs_export.h>
+
+#ifdef Q_MOC_RUN
+#define Q_WS_X11
+#endif // Q_MOC_RUN
+
#ifdef Q_WS_X11
#include <X11/X.h>
@@ -45,7 +50,7 @@ class KXMessagesPrivate;
*/
// KDE4 - make this internal for KStartupInfo only?
class KDECORE_EXPORT KXMessages
- : public QWidget
+ : public TQWidget
{
Q_OBJECT
public: