diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
commit | f7e71d47719ab6094cf4a9fafffa5ea351973522 (patch) | |
tree | 30834aa632d442019e14f88685001d94657d060b /kdecore/kasyncio.h | |
parent | b31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff) | |
download | tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip |
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems
with dependent modules such as kdebase. If it does then it needs to be fixed!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kasyncio.h')
-rw-r--r-- | kdecore/kasyncio.h | 12 |
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 { } |