summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmpart.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitda4be7880ff1de6415ab6256afd2514e64f5fa2e (patch)
tree0862c14883af0435b012f6f592221fc167ed7d91 /kpovmodeler/pmpart.cpp
parentd0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff)
downloadtdegraphics-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.cpp14
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 )