summaryrefslogtreecommitdiffstats
path: root/kdecore/kextsock.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-10 01:35:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-10 01:35:50 +0000
commit5e49bbb1e8d7761d1c8cdff83184035f59dd5abe (patch)
treefa1382c6347c96905232e51b2acf949b148c68fc /kdecore/kextsock.h
parentfe082a00283cee09d8529449e86d21a45d80a671 (diff)
downloadtdelibs-5e49bbb1e8d7761d1c8cdff83184035f59dd5abe.tar.gz
tdelibs-5e49bbb1e8d7761d1c8cdff83184035f59dd5abe.zip
Additional fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1161223 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kextsock.h')
-rw-r--r--kdecore/kextsock.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/kdecore/kextsock.h b/kdecore/kextsock.h
index 7bc93618c..2bfb22bfe 100644
--- a/kdecore/kextsock.h
+++ b/kdecore/kextsock.h
@@ -206,7 +206,12 @@ public:
* freeing any related resources still being kept.
* @since 3.1
*/
+#ifdef USE_QT3
void reset();
+#endif // USE_QT3
+#ifdef USE_QT4
+ bool reset();
+#endif // USE_QT4
/*
* --- status, flags and internal variables --- *
@@ -675,7 +680,12 @@ public:
* Returns length of this socket. This call is not supported on sockets.
* @return the length of this socket, or 0 if unsupported
*/
+#ifdef USE_QT3
virtual inline Q_ULONG size() const
+#endif // USE_QT3
+#ifdef USE_QT4
+ virtual inline qint64 size() const
+#endif // USE_QT4
{ return 0; }
/**
@@ -790,7 +800,12 @@ public:
* @return The number of available bytes, or -1 on error or -2 if this call is invalid
* in the current state.
*/
+#ifdef USE_QT3
virtual int bytesAvailable() const;
+#endif // USE_QT3
+#ifdef USE_QT4
+ virtual qint64 bytesAvailable() const;
+#endif // USE_QT4
/**
* Waits @p msec milliseconds for more data to be available (use 0 to