summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/libdjvu/DjVuNavDir.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kviewshell/plugins/djvu/libdjvu/DjVuNavDir.cpp
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/DjVuNavDir.cpp')
-rw-r--r--kviewshell/plugins/djvu/libdjvu/DjVuNavDir.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/DjVuNavDir.cpp b/kviewshell/plugins/djvu/libdjvu/DjVuNavDir.cpp
index 615041b0..49a2d31e 100644
--- a/kviewshell/plugins/djvu/libdjvu/DjVuNavDir.cpp
+++ b/kviewshell/plugins/djvu/libdjvu/DjVuNavDir.cpp
@@ -112,7 +112,7 @@ DjVuNavDir::decode(ByteStream & str)
*ptr=0;
if (!strlen(buffer)) continue;
- if (!tmp_page2name.contains(buffer))
+ if (!tmp_page2name.tqcontains(buffer))
tmp_page2name.append(buffer);
};
@@ -161,7 +161,7 @@ DjVuNavDir::name_to_page(const char * name) const
{
GCriticalSectionLock lk((GCriticalSection *)&lock);
- if (!name2page.contains(name)) return -1;
+ if (!name2page.tqcontains(name)) return -1;
return name2page[name];
}
@@ -170,7 +170,7 @@ DjVuNavDir::url_to_page(const GURL & url) const
{
GCriticalSectionLock lk((GCriticalSection *)&lock);
- if (!url2page.contains(url)) return -1;
+ if (!url2page.tqcontains(url)) return -1;
return url2page[url];
}