diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | da4be7880ff1de6415ab6256afd2514e64f5fa2e (patch) | |
tree | 0862c14883af0435b012f6f592221fc167ed7d91 /kpovmodeler/pmmovecommand.cpp | |
parent | d0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff) | |
download | tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip |
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
Diffstat (limited to 'kpovmodeler/pmmovecommand.cpp')
-rw-r--r-- | kpovmodeler/pmmovecommand.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kpovmodeler/pmmovecommand.cpp b/kpovmodeler/pmmovecommand.cpp index e45a8bf3..124de7a3 100644 --- a/kpovmodeler/pmmovecommand.cpp +++ b/kpovmodeler/pmmovecommand.cpp @@ -281,7 +281,7 @@ int PMMoveCommand::errorFlags( PMPart* ) for( obj = links.current( ); obj && !insideSelection; obj = obj->tqparent( ) ) { - if( deletedObjects.tqfind( obj ) ) + if( deletedObjects.find( obj ) ) insideSelection = true; } @@ -290,7 +290,7 @@ int PMMoveCommand::errorFlags( PMPart* ) bool stop = false; for( obj = links.current( ); obj && !stop; obj = obj->tqparent( ) ) { - if( deletedObjects.tqfind( obj ) ) + if( deletedObjects.find( obj ) ) stop = true; else deletedObjects.insert( obj, new bool( true ) ); @@ -327,7 +327,7 @@ int PMMoveCommand::errorFlags( PMPart* ) // check if insert point is before the top level // tqparent object - if( !objectsAfterInsertPosition.tqfind( obj ) ) + if( !objectsAfterInsertPosition.find( obj ) ) { stop = false; obj = obj->prevSibling( ); @@ -335,7 +335,7 @@ int PMMoveCommand::errorFlags( PMPart* ) { if( obj == m_pAfter ) stop = true; - else if( objectsAfterInsertPosition.tqfind( obj ) ) + else if( objectsAfterInsertPosition.find( obj ) ) stop = true; else obj = obj->prevSibling( ); @@ -419,13 +419,13 @@ int PMMoveCommand::errorFlags( PMPart* ) if( linked ) { - if( !deletedObjects.tqfind( linked ) ) + if( !deletedObjects.find( linked ) ) { // Object is linked to a declare and the declare // will not be moved. // Check, if the insert point is after the declare - if( !declaresBeforeInsertPosition.tqfind( linked ) ) + if( !declaresBeforeInsertPosition.find( linked ) ) ok = false; } } |