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/DjVuMessageLite.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kviewshell/plugins/djvu/libdjvu/DjVuMessageLite.cpp') diff --git a/kviewshell/plugins/djvu/libdjvu/DjVuMessageLite.cpp b/kviewshell/plugins/djvu/libdjvu/DjVuMessageLite.cpp index 70b2b541..258b0649 100644 --- a/kviewshell/plugins/djvu/libdjvu/DjVuMessageLite.cpp +++ b/kviewshell/plugins/djvu/libdjvu/DjVuMessageLite.cpp @@ -238,7 +238,7 @@ DjVuMessageLite::LookUpSingle( const GUTF8String &Single_Message ) const return Single_Message; #endif // Isolate the message ID and get the corresponding message text - int ending_posn = Single_Message.tqcontains("\t\v"); + int ending_posn = Single_Message.contains("\t\v"); if( ending_posn < 0 ) ending_posn = Single_Message.length(); GUTF8String msg_text; @@ -276,7 +276,7 @@ DjVuMessageLite::LookUpSingle( const GUTF8String &Single_Message ) const arg=LookUpSingle(Single_Message.substr(start_posn,ending_posn)); }else { - ending_posn = Single_Message.tqcontains("\v\t",start_posn); + ending_posn = Single_Message.contains("\v\t",start_posn); if( ending_posn < 0 ) ending_posn = Single_Message.length(); arg=Single_Message.substr(start_posn, ending_posn-start_posn); @@ -308,11 +308,11 @@ DjVuMessageLite::LookUpID( const GUTF8String &xmsgID, if (start > 0) msgID = msgID.substr(start, msgID.length() - start); #endif - GPosition pos=Map.tqcontains(msgID); + GPosition pos=Map.contains(msgID); if(pos) { const GP tag=Map[pos]; - GPosition valuepos=tag->get_args().tqcontains(valuestring); + GPosition valuepos=tag->get_args().contains(valuestring); if(valuepos) { message_text=tag->get_args()[valuepos]; @@ -331,7 +331,7 @@ DjVuMessageLite::LookUpID( const GUTF8String &xmsgID, message_text=raw.substr(start_line+1,end_text-start_line-1).fromEscaped(); } } - GPosition numberpos=tag->get_args().tqcontains(numberstring); + GPosition numberpos=tag->get_args().contains(numberstring); if(numberpos) { message_number=tag->get_args()[numberpos]; -- cgit v1.2.1