summaryrefslogtreecommitdiffstats
path: root/kdecore/kextsock.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 02:26:08 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 02:26:08 +0000
commit54241a1f0a21c7433f8dd2fa0410b93d38cce520 (patch)
treee509d81c855874912b63381f3f760f0ccbadbe57 /kdecore/kextsock.cpp
parenta52572740657a539cdc032c89ec744673071698b (diff)
downloadtdelibs-54241a1f0a21c7433f8dd2fa0410b93d38cce520.tar.gz
tdelibs-54241a1f0a21c7433f8dd2fa0410b93d38cce520.zip
Typelocking
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1164527 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kextsock.cpp')
-rw-r--r--kdecore/kextsock.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/kdecore/kextsock.cpp b/kdecore/kextsock.cpp
index dd670608c..6371bb7eb 100644
--- a/kdecore/kextsock.cpp
+++ b/kdecore/kextsock.cpp
@@ -222,7 +222,12 @@ KExtendedSocket::~KExtendedSocket()
delete d;
}
+#ifdef USE_QT3
void KExtendedSocket::reset()
+#endif // USE_QT3
+#ifdef USE_QT4
+bool KExtendedSocket::reset()
+#endif // USE_QT4
{
closeNow();
release();
@@ -1552,7 +1557,12 @@ int KExtendedSocket::unreadBlock(const char *, uint)
return -1;
}
+#ifdef USE_QT3
int KExtendedSocket::bytesAvailable() const
+#endif // USE_QT3
+#ifdef USE_QT4
+qint64 KExtendedSocket::bytesAvailable() const
+#endif // USE_QT4
{
if (d->status < connected || d->flags & passiveSocket)
return -2;