summaryrefslogtreecommitdiffstats
path: root/src/kiosvn/kiobytestream.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
commitd7633c195a464e4d344ada9eea61afd10110598a (patch)
tree1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/kiosvn/kiobytestream.h
parent3fa7eb804f67b2789f128075cc2522f398640250 (diff)
downloadtdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz
tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kiosvn/kiobytestream.h')
-rw-r--r--src/kiosvn/kiobytestream.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kiosvn/kiobytestream.h b/src/kiosvn/kiobytestream.h
index 8e62155..2fe8e57 100644
--- a/src/kiosvn/kiobytestream.h
+++ b/src/kiosvn/kiobytestream.h
@@ -25,8 +25,8 @@
#include <kio/global.h>
#include <kmimetype.h>
#include <kmimemagic.h>
-#include <qbuffer.h>
-#include <qdatetime.h>
+#include <tqbuffer.h>
+#include <tqdatetime.h>
class StreamWrittenCb
{
@@ -34,7 +34,7 @@ public:
StreamWrittenCb(){}
virtual ~StreamWrittenCb(){}
virtual void streamWritten(const KIO::filesize_t current) = 0;
- virtual void streamPushData(QByteArray)=0;
+ virtual void streamPushData(TQByteArray)=0;
virtual void streamSendMime(KMimeMagicResult*mt)=0;
virtual void streamTotalSizeNull()=0;
};
@@ -45,7 +45,7 @@ public:
class KioByteStream : public svn::stream::SvnStream
{
public:
- KioByteStream(StreamWrittenCb*,const QString&filename);
+ KioByteStream(StreamWrittenCb*,const TQString&filename);
~KioByteStream();
@@ -58,9 +58,9 @@ protected:
StreamWrittenCb*m_Cb;
KIO::filesize_t m_Written;
bool m_mimeSend;
- QString m_Filename;
- QByteArray array;
- QTime m_MessageTick;
+ TQString m_Filename;
+ TQByteArray array;
+ TQTime m_MessageTick;
};
#endif