summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/singlefilecache.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/torrent/singlefilecache.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
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
Diffstat (limited to 'libktorrent/torrent/singlefilecache.h')
-rw-r--r--libktorrent/torrent/singlefilecache.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libktorrent/torrent/singlefilecache.h b/libktorrent/torrent/singlefilecache.h
index faa71b6..fc96fe7 100644
--- a/libktorrent/torrent/singlefilecache.h
+++ b/libktorrent/torrent/singlefilecache.h
@@ -35,11 +35,11 @@ namespace bt
*/
class SingleFileCache : public Cache
{
- QString cache_file;
- QString output_file;
+ TQString cache_file;
+ TQString output_file;
CacheFile* fd;
public:
- SingleFileCache(Torrent& tor,const QString & tmpdir,const QString & datadir);
+ SingleFileCache(Torrent& tor,const TQString & tmpdir,const TQString & datadir);
virtual ~SingleFileCache();
virtual bool prep(Chunk* c);
@@ -48,13 +48,13 @@ namespace bt
virtual void create();
virtual void close();
virtual void open();
- virtual void changeTmpDir(const QString & ndir);
- virtual KIO::Job* moveDataFiles(const QString & ndir);
+ virtual void changeTmpDir(const TQString & ndir);
+ virtual KIO::Job* moveDataFiles(const TQString & ndir);
virtual void moveDataFilesCompleted(KIO::Job* job);
- virtual void changeOutputPath(const QString& outputpath);
- virtual QString getOutputPath() const {return output_file;}
+ virtual void changeOutputPath(const TQString& outputpath);
+ virtual TQString getOutputPath() const {return output_file;}
virtual void preallocateDiskSpace(PreallocationThread* prealloc);
- virtual bool hasMissingFiles(QStringList & sl);
+ virtual bool hasMissingFiles(TQStringList & sl);
virtual void deleteDataFiles();
virtual Uint64 diskUsage();
};