summaryrefslogtreecommitdiffstats
path: root/tdecore/network/kclientsocketbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/network/kclientsocketbase.cpp')
-rw-r--r--tdecore/network/kclientsocketbase.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/tdecore/network/kclientsocketbase.cpp b/tdecore/network/kclientsocketbase.cpp
index eaf669bb9..31df9a804 100644
--- a/tdecore/network/kclientsocketbase.cpp
+++ b/tdecore/network/kclientsocketbase.cpp
@@ -48,16 +48,8 @@ public:
};
KClientSocketBase::KClientSocketBase(TQObject *parent, const char *name) :
-#ifdef USE_QT4
-#else // USE_QT4
- TQObject(parent, name),
-#endif // USE_QT4
- d(new KClientSocketBasePrivate)
-{
-#ifdef USE_QT4
- setParent(parent);
- setObjectName(name);
-#endif // USE_QT4
+ TQObject(parent, name), d(new KClientSocketBasePrivate)
+{
d->state = Idle;
d->enableRead = true;
d->enableWrite = false;
@@ -286,12 +278,7 @@ void KClientSocketBase::close()
}
// This function is unlike all the others because it is const
-#ifdef USE_QT3
TQ_LONG KClientSocketBase::bytesAvailable() const
-#endif
-#ifdef USE_QT4
-qint64 KClientSocketBase::bytesAvailable() const
-#endif
{
return socketDevice()->bytesAvailable();
}