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 | e05894553004a47b1e2f276bedcf5963b57a3932 (patch) | |
tree | 2c12af14a609c053131e3a463068fa7589e6ac6a /microbe/instruction.cpp | |
parent | 60cba8acf96454af45641d6190a3f2ac9f9ff9b0 (diff) | |
download | ktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.tar.gz ktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'microbe/instruction.cpp')
-rw-r--r-- | microbe/instruction.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/microbe/instruction.cpp b/microbe/instruction.cpp index b05423c..5e41fc8 100644 --- a/microbe/instruction.cpp +++ b/microbe/instruction.cpp @@ -780,7 +780,7 @@ uchar & RegisterDepends::reg( const Register & reg ) return status; // If we don't already have the register, we need to reset it first - if ( !m_registers.tqcontains( reg.name() ) ) + if ( !m_registers.contains( reg.name() ) ) m_registers[ reg ] = 0xff; return m_registers[ reg ]; @@ -905,7 +905,7 @@ Instruction * Code::instruction( const TQString & label ) const InstructionList::const_iterator end = m_instructionLists[i].end(); for ( InstructionList::const_iterator it = m_instructionLists[i].begin(); it != end; ++it ) { - if ( (*it)->labels().tqcontains( label ) ) + if ( (*it)->labels().contains( label ) ) return *it; } } @@ -913,7 +913,7 @@ Instruction * Code::instruction( const TQString & label ) const } -Code::iterator Code::tqfind( Instruction * instruction ) +Code::iterator Code::find( Instruction * instruction ) { iterator e = end(); iterator i = begin(); @@ -1020,7 +1020,7 @@ TQStringList Code::findVariables() const continue; TQString alias = (*i)->file().name(); - if ( !variables.tqcontains( alias ) ) + if ( !variables.contains( alias ) ) variables << alias; } @@ -1304,7 +1304,7 @@ void Instruction::makeLabelOutputLink( const TQString & label ) void Instruction::addInputLink( Instruction * instruction ) { // Don't forget that a link to ourself is valid! - if ( !instruction || m_inputLinks.tqcontains( instruction ) ) + if ( !instruction || m_inputLinks.contains( instruction ) ) return; m_inputLinks << instruction; @@ -1315,7 +1315,7 @@ void Instruction::addInputLink( Instruction * instruction ) void Instruction::addOutputLink( Instruction * instruction ) { // Don't forget that a link to ourself is valid! - if ( !instruction || m_outputLinks.tqcontains( instruction ) ) + if ( !instruction || m_outputLinks.contains( instruction ) ) return; m_outputLinks << instruction; @@ -2035,7 +2035,7 @@ void Instr_call::linkReturns( Instruction * current, Instruction * returnPoint ) { // Jump over the call instruction to its return point, // which will be the instruction after current. - current = *(++m_pCode->tqfind( current )); + current = *(++m_pCode->find( current )); continue; } |