diff options
Diffstat (limited to 'libksirtet/lib/socket.h')
-rw-r--r-- | libksirtet/lib/socket.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libksirtet/lib/socket.h b/libksirtet/lib/socket.h index a2f47a63..01dac726 100644 --- a/libksirtet/lib/socket.h +++ b/libksirtet/lib/socket.h @@ -1,7 +1,7 @@ #ifndef SOCKET_H #define SOCKET_H -#include <qsocketnotifier.h> +#include <tqsocketnotifier.h> #include <kextsock.h> @@ -12,7 +12,7 @@ class Socket { public: Socket(KExtendedSocket *, bool createNotifier = FALSE, - QObject *parent = 0, const char *name = 0); + TQObject *parent = 0, const char *name = 0); /** close the socket */ ~Socket(); @@ -28,7 +28,7 @@ class Socket * @return the socket notifier associated with the socket * (0 if none). */ - QSocketNotifier *notifier() const { return _notifier; } + TQSocketNotifier *notifier() const { return _notifier; } /** * Write data contained in the writing stream to the socket. @@ -36,9 +36,9 @@ class Socket * @return TRUE if all was written without error. */ bool write(); - bool write(const QByteArray &a); + bool write(const TQByteArray &a); - /** @return the QDataStream for writing. */ + /** @return the TQDataStream for writing. */ WritingStream &writingStream() { return writing; } /** @return the size of pending data. */ @@ -56,7 +56,7 @@ class Socket private: KExtendedSocket *_socket; - QSocketNotifier *_notifier; + TQSocketNotifier *_notifier; WritingStream writing; ReadingStream reading; |