summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/socket.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /libksirtet/lib/socket.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksirtet/lib/socket.h')
-rw-r--r--libksirtet/lib/socket.h12
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;