diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kfile-plugins/torrent/bytetape.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/torrent/bytetape.h')
-rw-r--r-- | kfile-plugins/torrent/bytetape.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kfile-plugins/torrent/bytetape.h b/kfile-plugins/torrent/bytetape.h index 55fef4b5..4c803122 100644 --- a/kfile-plugins/torrent/bytetape.h +++ b/kfile-plugins/torrent/bytetape.h @@ -21,7 +21,7 @@ #include <ksharedptr.h> -#include <qcstring.h> +#include <tqcstring.h> class ByteTapeShared : public KShared { @@ -31,7 +31,7 @@ class ByteTapeShared : public KShared }; /** - * Class to simulate a seekable byte stream. Very similar to QByteArray, + * Class to simulate a seekable byte stream. Very similar to TQByteArray, * but the difference is that this class "knows" what a current position * is. Also, the copy constructor will share the byte stream of the * ByteTape being copied. This means that any copies made of an object of @@ -54,7 +54,7 @@ class ByteTape * @param pos the initial position of the tape head. It must be * a position within the buffer contained in @p array. */ - ByteTape (QByteArray &array, int pos = 0); + ByteTape (TQByteArray &array, int pos = 0); /** * Creates a ByteTape as a copy of @p tape. The newly created @@ -177,15 +177,15 @@ class ByteTape bool setPos(unsigned int pos); /** - * Returns a reference to the QByteArray used to hold all the data. + * Returns a reference to the TQByteArray used to hold all the data. * - * @return the QByteArray used to hold the data + * @return the TQByteArray used to hold the data * @see QByteArray */ - QByteArray &data() { return m_array; } + TQByteArray &data() { return m_array; } private: - QByteArray &m_array; + TQByteArray &m_array; KSharedPtr<ByteTapeShared> m_shared; }; |