summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libksirtet/lib/socket.cpp')
-rw-r--r--libksirtet/lib/socket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libksirtet/lib/socket.cpp b/libksirtet/lib/socket.cpp
index 9ef3ba3c..6defc94b 100644
--- a/libksirtet/lib/socket.cpp
+++ b/libksirtet/lib/socket.cpp
@@ -21,12 +21,12 @@
#endif
Socket::Socket(KExtendedSocket *s, bool createNotifier,
- QObject *parent, const char *name)
+ TQObject *parent, const char *name)
: _socket(s), _notifier(0)
{
Q_ASSERT(s);
if (createNotifier) {
- _notifier = new QSocketNotifier(s->fd(), QSocketNotifier::Read,
+ _notifier = new TQSocketNotifier(s->fd(), TQSocketNotifier::Read,
parent, name);
_notifier->setEnabled(FALSE);
}
@@ -38,7 +38,7 @@ Socket::~Socket()
delete _socket;
}
-bool Socket::write(const QByteArray &a)
+bool Socket::write(const TQByteArray &a)
{
return ( _socket->writeBlock(a.data(), a.size())==(int)a.size() );
}