diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kviewshell/plugins/djvu/libdjvu/DjVuMessage.cpp | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-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/DjVuMessage.cpp')
-rw-r--r-- | kviewshell/plugins/djvu/libdjvu/DjVuMessage.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<GURL> &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<GUTF8String,GP<lt_XMLTags> > &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<GUTF8String,GUTF8String>&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<GURL> xpaths; xpaths.append(url.base()); |