From da4be7880ff1de6415ab6256afd2514e64f5fa2e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- kviewshell/plugins/djvu/libdjvu/DataPool.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kviewshell/plugins/djvu/libdjvu/DataPool.cpp') 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 &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 pool) if (url.is_local_file_url()) { GPList 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 &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 &plist=map[pos]; @@ -433,7 +433,7 @@ FCPools::del_pool(const GURL &url, GP pool) if (url.is_local_file_url()) { GPosition pos; - if (map.tqcontains(url, pos)) + if (map.contains(url, pos)) { GPList &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 -- cgit v1.2.3