summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/multifilecache.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:13:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:13:41 -0600
commita90eb215f53c95d81f95b32255098066d90556d9 (patch)
tree333389b0dad6c75eb0f6b5649ec9adcabb18c268 /libktorrent/torrent/multifilecache.cpp
parent42a9872891eba166e81cf4f8c062261cc77398f8 (diff)
downloadktorrent-a90eb215f53c95d81f95b32255098066d90556d9.tar.gz
ktorrent-a90eb215f53c95d81f95b32255098066d90556d9.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'libktorrent/torrent/multifilecache.cpp')
-rw-r--r--libktorrent/torrent/multifilecache.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libktorrent/torrent/multifilecache.cpp b/libktorrent/torrent/multifilecache.cpp
index b7dae26..e842560 100644
--- a/libktorrent/torrent/multifilecache.cpp
+++ b/libktorrent/torrent/multifilecache.cpp
@@ -425,7 +425,7 @@ namespace bt
{
// if mmap fails or is not possible use buffered mode
c->allocate();
- c->settqStatus(Chunk::BUFFERED);
+ c->setStatus(Chunk::BUFFERED);
}
else
{
@@ -436,7 +436,7 @@ namespace bt
{
// just allocate it
c->allocate();
- c->settqStatus(Chunk::BUFFERED);
+ c->setStatus(Chunk::BUFFERED);
}
return true;
}
@@ -446,7 +446,7 @@ namespace bt
TQValueList<Uint32> tflist;
tor.calcChunkPos(c->getIndex(),tflist);
- if (c->gettqStatus() == Chunk::MMAPPED)
+ if (c->getStatus() == Chunk::MMAPPED)
{
// mapped chunks are easy
CacheFile* fd = files.find(tflist[0]);
@@ -455,7 +455,7 @@ namespace bt
fd->unmap(c->getData(),c->getSize());
c->clear();
- c->settqStatus(Chunk::ON_DISK);
+ c->setStatus(Chunk::ON_DISK);
return;
}
@@ -506,7 +506,7 @@ namespace bt
// set the chunk to on disk and clear it
c->clear();
- c->settqStatus(Chunk::ON_DISK);
+ c->setStatus(Chunk::ON_DISK);
}
void MultiFileCache::downloadStatusChanged(TorrentFile* tf, bool download)