summaryrefslogtreecommitdiffstats
path: root/kdecore/network/kiobuffer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdecore/network/kiobuffer.h
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/network/kiobuffer.h')
-rw-r--r--kdecore/network/kiobuffer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdecore/network/kiobuffer.h b/kdecore/network/kiobuffer.h
index 839899b18..02f75a420 100644
--- a/kdecore/network/kiobuffer.h
+++ b/kdecore/network/kiobuffer.h
@@ -85,7 +85,7 @@ public:
*
* @sa size
*/
- virtual Q_LONG length() const = 0;
+ virtual TQ_LONG length() const = 0;
/**
* Returns true if the buffer is empty of data.
@@ -99,7 +99,7 @@ public:
*
* @sa length for the length of the data stored
*/
- virtual Q_LONG size() const = 0;
+ virtual TQ_LONG size() const = 0;
/**
* Returns true if the buffer is full (i.e., cannot receive more data)
@@ -114,7 +114,7 @@ public:
* @returns true on success, false if an error occurred.
* @note if the new size is less than length(), the buffer will be truncated
*/
- virtual bool setSize(Q_LONG size) = 0;
+ virtual bool setSize(TQ_LONG size) = 0;
/**
* Adds data to the end of the buffer.
@@ -123,7 +123,7 @@ public:
* @param len the data length, in bytes
* @returns the number of bytes added to the end of the buffer.
*/
- virtual Q_LONG feedBuffer(const char *data, Q_LONG len) = 0;
+ virtual TQ_LONG feedBuffer(const char *data, TQ_LONG len) = 0;
/**
* Consumes data from the beginning of the buffer.
@@ -133,7 +133,7 @@ public:
* @param discard if true, the bytes copied will be discarded
* @returns the number of bytes copied from the buffer
*/
- virtual Q_LONG consumeBuffer(char *data, Q_LONG maxlen, bool discard = true) = 0;
+ virtual TQ_LONG consumeBuffer(char *data, TQ_LONG maxlen, bool discard = true) = 0;
/**
* Clears the buffer.