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/pmpart.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/pmpart.cpp')
-rw-r--r-- | kpovmodeler/pmpart.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpovmodeler/pmpart.cpp b/kpovmodeler/pmpart.cpp index 7dec1524..01b36deb 100644 --- a/kpovmodeler/pmpart.cpp +++ b/kpovmodeler/pmpart.cpp @@ -1023,7 +1023,7 @@ bool PMPart::setActiveObject( const TQString& name ) tmpObj = activeObject( ); // get the first element - pos = objPath.tqfind( '/' ); + pos = objPath.find( '/' ); if( pos != -1 ) { pathElem = objPath.mid( 0, pos ); @@ -1040,10 +1040,10 @@ bool PMPart::setActiveObject( const TQString& name ) if( !pathElem.isEmpty( ) ) { // Special treatment for brackets - firstBracket = pathElem.tqfind( '[' ); + firstBracket = pathElem.find( '[' ); if( firstBracket != -1 ) { - lastBracket = pathElem.tqfindRev( ']' ); + lastBracket = pathElem.findRev( ']' ); objIndex = pathElem.mid( firstBracket + 1, lastBracket - firstBracket - 1).toInt( ); pathElem = pathElem.left( firstBracket ); } @@ -1070,7 +1070,7 @@ bool PMPart::setActiveObject( const TQString& name ) } // Get the next element - pos = objPath.tqfind( '/' ); + pos = objPath.find( '/' ); if( pos != -1 ) { pathElem = objPath.mid( 0, pos ); @@ -1864,7 +1864,7 @@ void PMPart::slotObjectChanged( PMObject* obj, const int m, else m_pNewSelection = 0; } - if( m_selectedObjects.tqcontainsRef( obj ) ) + if( m_selectedObjects.containsRef( obj ) ) { m_selectedObjects.removeRef( obj ); if( m_selectedObjects.isEmpty( ) ) @@ -1903,7 +1903,7 @@ void PMPart::slotObjectChanged( PMObject* obj, const int m, if( obj->isA( "Declare" ) ) { PMDeclare* decl = ( PMDeclare* ) obj; - PMSymbol* s = m_pSymbolTable->tqfind( decl->id( ) ); + PMSymbol* s = m_pSymbolTable->find( decl->id( ) ); if( !s ) m_pSymbolTable->insert( decl->id( ), new PMSymbol( decl->id( ), decl ) ); @@ -1977,7 +1977,7 @@ void PMPart::slotIDChanged( PMObject* obj, const TQString& oldID ) if( obj->isA( "Declare" ) ) { PMDeclare* d = ( PMDeclare* ) obj; - PMSymbol* s = m_pSymbolTable->tqfind( oldID ); + PMSymbol* s = m_pSymbolTable->find( oldID ); if( s ) { if( s->type( ) == PMSymbol::Object ) |