From e05894553004a47b1e2f276bedcf5963b57a3932 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- src/languages/asmparser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/languages/asmparser.cpp') diff --git a/src/languages/asmparser.cpp b/src/languages/asmparser.cpp index 94b01c0..90c26d7 100644 --- a/src/languages/asmparser.cpp +++ b/src/languages/asmparser.cpp @@ -52,12 +52,12 @@ bool AsmParser::parse( GpsimDebugger * debugger ) { TQString col0 = line.section( TQRegExp("[; ]"), 0, 0 ); col0 = col0.stripWhiteSpace(); - if ( nonAbsoluteOps.tqcontains(col0) ) + if ( nonAbsoluteOps.contains(col0) ) m_type = Relocatable; } if ( !m_bContainsRadix ) { - if ( line.tqcontains( TQRegExp("^RADIX[\\s]*") ) || line.tqcontains( TQRegExp("^radix[\\s]*") ) ) + if ( line.contains( TQRegExp("^RADIX[\\s]*") ) || line.contains( TQRegExp("^radix[\\s]*") ) ) m_bContainsRadix = true; } if ( m_picID.isEmpty() ) @@ -81,7 +81,7 @@ bool AsmParser::parse( GpsimDebugger * debugger ) // Assembly file produced (by sdcc) from C, line is in format: // ;#CSRC\t[file-name] [file-line] // The filename can contain spaces. - int fileLineAt = line.tqfindRev(" "); + int fileLineAt = line.findRev(" "); if ( fileLineAt == -1 ) kdWarning() << k_funcinfo << "Syntax error in line \"" << line << "\" while looking for file-line" << endl; @@ -117,7 +117,7 @@ bool AsmParser::parse( GpsimDebugger * debugger ) else { const TQString lineAndFile = lineParts[1]; - int lineFileSplit = lineAndFile.tqfind("; "); + int lineFileSplit = lineAndFile.find("; "); if ( lineFileSplit == -1 ) kdDebug() << k_funcinfo << "Could not find file / line split in \""<