From d8762de95349dc6edaa34db9bf699b367c1af6b1 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/kdeedu@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdeedu/kdeeduui/kdeeduglossary.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libkdeedu/kdeeduui') diff --git a/libkdeedu/kdeeduui/kdeeduglossary.cpp b/libkdeedu/kdeeduui/kdeeduglossary.cpp index 882b5007..4ab49437 100644 --- a/libkdeedu/kdeeduui/kdeeduglossary.cpp +++ b/libkdeedu/kdeeduui/kdeeduglossary.cpp @@ -100,8 +100,8 @@ void Glossary::fixImagePath() for ( ; it != itEnd ; ++it ) { - ( *it )->setDesc( ( *it )->desc().tqreplace("[img]", firstpart ) ); - ( *it )->setDesc( ( *it )->desc().tqreplace("[/img]", "\" />" ) ); + ( *it )->setDesc( ( *it )->desc().replace("[img]", firstpart ) ); + ( *it )->setDesc( ( *it )->desc().replace("[/img]", "\" />" ) ); } } @@ -136,15 +136,15 @@ TQValueList Glossary::readItems( TQDomDocument &itemDocument ) item->setName( i18n( nameNode.toElement( ).text().utf8() ) ); - item->setDesc( desc.tqreplace("[b]", "" ) ); - item->setDesc( item->desc().tqreplace("[/b]", "" ) ); - item->setDesc( item->desc().tqreplace("[i]", "" ) ); - item->setDesc( item->desc().tqreplace("[/i]", "" ) ); - item->setDesc( item->desc().tqreplace("[sub]", "" ) ); - item->setDesc( item->desc().tqreplace("[/sub]", "" ) ); - item->setDesc( item->desc().tqreplace("[sup]", "" ) ); - item->setDesc( item->desc().tqreplace("[/sup]", "" ) ); - item->setDesc( item->desc().tqreplace("[br]", "
" ) ); + item->setDesc( desc.replace("[b]", "" ) ); + item->setDesc( item->desc().replace("[/b]", "" ) ); + item->setDesc( item->desc().replace("[i]", "" ) ); + item->setDesc( item->desc().replace("[/i]", "" ) ); + item->setDesc( item->desc().replace("[sub]", "" ) ); + item->setDesc( item->desc().replace("[/sub]", "" ) ); + item->setDesc( item->desc().replace("[sup]", "" ) ); + item->setDesc( item->desc().replace("[/sup]", "" ) ); + item->setDesc( item->desc().replace("[br]", "
" ) ); refNodeList = refNode.elementsByTagName( "refitem" ); for ( uint it = 0; it < refNodeList.count(); it++ ) -- cgit v1.2.1