diff options
Diffstat (limited to 'qtinterface/tqiodevice.h')
-rw-r--r-- | qtinterface/tqiodevice.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/qtinterface/tqiodevice.h b/qtinterface/tqiodevice.h index 6e2dfb8..b4bb9c5 100644 --- a/qtinterface/tqiodevice.h +++ b/qtinterface/tqiodevice.h @@ -39,7 +39,21 @@ Boston, MA 02110-1301, USA. // Reimplement the QIODevice class // For Qt4, no changes are needed -#include <Qt/qiodevice.h> +#define QT_NO_QOBJECT +#include <tqt4/Qt/qiodevice.h> +#undef QT_NO_QOBJECT + +// class TQIODevice : public QIODevice { +// public: +// TQIODevice(); +// #ifndef QT_NO_QOBJECT +// explicit TQIODevice(QObject *parent); +// #endif +// +// public: +// qint64 readData(char *data, qint64 maxlen); +// qint64 writeData(const char *data, qint64 len); +// }; #endif // USE_QT4 |