From 1c1403293485f35fd53db45aaa77a01cdd9627e7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 20:34:15 +0000 Subject: TQt4 port ktorrent This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libktorrent/torrent/bencoder.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libktorrent/torrent/bencoder.h') diff --git a/libktorrent/torrent/bencoder.h b/libktorrent/torrent/bencoder.h index 8760d14..eb84c39 100644 --- a/libktorrent/torrent/bencoder.h +++ b/libktorrent/torrent/bencoder.h @@ -58,14 +58,14 @@ namespace bt }; /** - * Write the output of a BEncoder to a QByteArray + * Write the output of a BEncoder to a TQByteArray */ class BEncoderBufferOutput : public BEncoderOutput { - QByteArray & data; + TQByteArray & data; Uint32 ptr; public: - BEncoderBufferOutput(QByteArray & data); + BEncoderBufferOutput(TQByteArray & data); void write(const char* str,Uint32 len); }; @@ -124,13 +124,13 @@ namespace bt * Write a string * @param str */ - void write(const QString & str); + void write(const TQString & str); /** - * Write a QByteArray + * Write a TQByteArray * @param data */ - void write(const QByteArray & data); + void write(const TQByteArray & data); /** * Write a data array -- cgit v1.2.1