summaryrefslogtreecommitdiffstats
path: root/kdecore/kasyncio.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kasyncio.h')
-rw-r--r--kdecore/kasyncio.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/kdecore/kasyncio.h b/kdecore/kasyncio.h
index a96e30cd8..ad2fe1e30 100644
--- a/kdecore/kasyncio.h
+++ b/kdecore/kasyncio.h
@@ -25,6 +25,10 @@
#include <tqiodevice.h>
#include "kdelibs_export.h"
+#ifdef Q_MOC_RUN
+#define USE_QT4
+#endif // Q_MOC_RUN
+
class KAsyncIOPrivate;
/**
* Asynchronous I/O Support
@@ -35,9 +39,15 @@ class KAsyncIOPrivate;
* @author Thiago Macieira <thiago.macieira@kdemail.net>
* @short Asynchronous I/O support
*/
-class KDECORE_EXPORT KAsyncIO: public TQObject, public QIODevice
+class KDECORE_EXPORT KAsyncIO:
+#ifdef USE_QT4
+#else // USE_QT4
+public TQObject,
+#endif // USE_QT4
+public TQIODevice
{
Q_OBJECT
+ TQ_OBJECT
protected:
KAsyncIO() // cannot be accessed externally
{ }