From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: 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 --- kviewshell/plugins/djvu/libdjvu/DjVuMessage.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kviewshell/plugins/djvu/libdjvu/DjVuMessage.cpp') diff --git a/kviewshell/plugins/djvu/libdjvu/DjVuMessage.cpp b/kviewshell/plugins/djvu/libdjvu/DjVuMessage.cpp index e92b7570..f20c1106 100644 --- a/kviewshell/plugins/djvu/libdjvu/DjVuMessage.cpp +++ b/kviewshell/plugins/djvu/libdjvu/DjVuMessage.cpp @@ -240,7 +240,7 @@ GetModulePath( void ) { retval=GURL::UTF8(xprogramname,paths[pos]); const GUTF8String path(retval.get_string()); - if(!pathMAP.contains(path)) + if(!pathMAP.tqcontains(path)) { if(retval.is_file()) break; @@ -263,7 +263,7 @@ appendPath(const GURL &url, GList &list) { if( !url.is_empty() - && !map.contains(url.get_string()) && url.is_dir() ) + && !map.tqcontains(url.get_string()) && url.is_dir() ) { map[url.get_string()]=0; list.append(url); @@ -375,14 +375,14 @@ DjVuMessage::GetProfilePaths(void) for(pos=localemaps;pos;++pos) { const GMap > &localemap=localemaps[pos]; - GPosition pos=localemap.contains(sublocale); + GPosition pos=localemap.tqcontains(sublocale); if(!pos) - pos=localemap.contains(downcasesublocale); + pos=localemap.tqcontains(downcasesublocale); if(pos) { const GMap&args = localemap[pos]->get_args(); - pos = args.contains(srcstring); + pos = args.tqcontains(srcstring); if (pos) { const GUTF8String src(args[pos]); @@ -496,7 +496,7 @@ getbodies( for(GPosition pos=includes;pos;++pos) { const GUTF8String file=includes.key(pos); - if(! map.contains(file)) + if(! map.tqcontains(file)) { GList xpaths; xpaths.append(url.base()); -- cgit v1.2.1