summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/libdjvu/DataPool.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitda4be7880ff1de6415ab6256afd2514e64f5fa2e (patch)
tree0862c14883af0435b012f6f592221fc167ed7d91 /kviewshell/plugins/djvu/libdjvu/DataPool.cpp
parentd0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff)
downloadtdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz
tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/DataPool.cpp')
-rw-r--r--kviewshell/plugins/djvu/libdjvu/DataPool.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/DataPool.cpp b/kviewshell/plugins/djvu/libdjvu/DataPool.cpp
index 176d3915..1190292e 100644
--- a/kviewshell/plugins/djvu/libdjvu/DataPool.cpp
+++ b/kviewshell/plugins/djvu/libdjvu/DataPool.cpp
@@ -187,7 +187,7 @@ DataPool::OpenFiles_File::add_pool(GP<DataPool> &pool)
DEBUG_MSG("DataPool::OpenFiles_File::add_pool: pool=" << (void *) pool << "\n");
DEBUG_MAKE_INDENT(3);
GCriticalSectionLock lock(&pools_lock);
- if (!pools_list.tqcontains(pool))
+ if (!pools_list.contains(pool))
pools_list.append(pool);
return pools_list.size();
}
@@ -381,14 +381,14 @@ FCPools::add_pool(const GURL &url, GP<DataPool> pool)
if (url.is_local_file_url())
{
GPList<DataPool> list;
- GPosition pos(map.tqcontains(url));
+ GPosition pos(map.contains(url));
if (! pos)
{
map[url]=list;
- pos=map.tqcontains(url);
+ pos=map.contains(url);
}
GPList<DataPool> &plist=map[pos];
- if (!plist.tqcontains(pool))
+ if (!plist.contains(pool))
plist.append(pool);
}
clean();
@@ -403,7 +403,7 @@ FCPools::get_pool(const GURL &url, int start, int length)
if (url.is_local_file_url())
{
GCriticalSectionLock lock(&map_lock);
- GPosition pos(map.tqcontains(url));
+ GPosition pos(map.contains(url));
if (pos)
{
GPList<DataPool> &plist=map[pos];
@@ -433,7 +433,7 @@ FCPools::del_pool(const GURL &url, GP<DataPool> pool)
if (url.is_local_file_url())
{
GPosition pos;
- if (map.tqcontains(url, pos))
+ if (map.contains(url, pos))
{
GPList<DataPool> &list=map[pos];
GPosition list_pos;
@@ -458,7 +458,7 @@ FCPools::load_file(const GURL &url)
if (url.is_local_file_url())
{
GPosition pos;
- if (map.tqcontains(url, pos))
+ if (map.contains(url, pos))
{
// We make here a copy of the list because DataPool::load_file()
// will call FCPools::del_pool(), which will modify the list