From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kxmlguifactory_p.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kdeui/kxmlguifactory_p.cpp') diff --git a/kdeui/kxmlguifactory_p.cpp b/kdeui/kxmlguifactory_p.cpp index 4bd5ad68e..f7955f471 100644 --- a/kdeui/kxmlguifactory_p.cpp +++ b/kdeui/kxmlguifactory_p.cpp @@ -136,7 +136,7 @@ ContainerNode *ContainerNode::findContainer( const TQString &name, const TQStrin { for (; nIt.current(); ++nIt ) if ( nIt.current()->name == name && - !excludeList->containsRef( nIt.current()->container ) ) + !excludeList->tqcontainsRef( nIt.current()->container ) ) { res = nIt.current(); break; @@ -149,7 +149,7 @@ ContainerNode *ContainerNode::findContainer( const TQString &name, const TQStrin for (; nIt.current(); ++nIt ) { if ( nIt.current()->tagName == tagName && - !excludeList->containsRef( nIt.current()->container ) + !excludeList->tqcontainsRef( nIt.current()->container ) /* * It is a bad idea to also compare the client, because * we don't want to do so in situations like these: @@ -226,7 +226,7 @@ void ContainerNode::plugActionList( BuildState &state, const MergingIndexList::I TQString k( mergingIdx.mergingName ); - if ( k.find( tagActionList ) == -1 ) + if ( k.tqfind( tagActionList ) == -1 ) return; k = k.mid( tagActionList.length() ); @@ -268,7 +268,7 @@ void ContainerNode::unplugActionList( BuildState &state, const MergingIndexList: TQString k = mergingIdx.mergingName; - if ( k.find( tagActionList ) == -1 ) + if ( k.tqfind( tagActionList ) == -1 ) return; k = k.mid( tagActionList.length() ); @@ -283,7 +283,7 @@ void ContainerNode::unplugActionList( BuildState &state, const MergingIndexList: TQString::null, mergingIndices.end() ); - ActionListMap::Iterator lIt( client->actionLists.find( k ) ); + ActionListMap::Iterator lIt( client->actionLists.tqfind( k ) ); if ( lIt == client->actionLists.end() ) return; @@ -568,9 +568,9 @@ void BuildHelper::processElement( const TQDomElement &e ) bool isActionTag = ( tag == tagAction ); - if ( isActionTag || customTags.findIndex( tag ) != -1 ) + if ( isActionTag || customTags.tqfindIndex( tag ) != -1 ) processActionOrCustomElement( e, isActionTag ); - else if ( containerTags.findIndex( tag ) != -1 ) + else if ( containerTags.tqfindIndex( tag ) != -1 ) processContainerElement( e, tag, currName ); else if ( tag == tagMerge || tag == tagDefineGroup || tag == tagActionList ) processMergeElement( tag, currName, e ); -- cgit v1.2.1