summaryrefslogtreecommitdiffstats
path: root/src/languages/microbe.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
commite05894553004a47b1e2f276bedcf5963b57a3932 (patch)
tree2c12af14a609c053131e3a463068fa7589e6ac6a /src/languages/microbe.cpp
parent60cba8acf96454af45641d6190a3f2ac9f9ff9b0 (diff)
downloadktechlab-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 'src/languages/microbe.cpp')
-rw-r--r--src/languages/microbe.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/languages/microbe.cpp b/src/languages/microbe.cpp
index b7c7f8b..00cf1ed 100644
--- a/src/languages/microbe.cpp
+++ b/src/languages/microbe.cpp
@@ -40,9 +40,9 @@ Microbe::Microbe( ProcessChain *processChain, KTechlab *tqparent )
if ( !line.isEmpty() )
{
bool ok;
- const int pos = line.left( line.tqfind("#") ).toInt(&ok);
+ const int pos = line.left( line.find("#") ).toInt(&ok);
if (ok) {
- m_errorMessages[pos] = line.right(line.length()-line.tqfind("#"));
+ m_errorMessages[pos] = line.right(line.length()-line.find("#"));
} else {
kdError() << k_funcinfo << "Error parsing Microbe error-message file"<<endl;
}
@@ -83,12 +83,12 @@ void Microbe::processInput( ProcessOptions options )
bool Microbe::isError( const TQString &message ) const
{
- return message.tqcontains( "Error", false );
+ return message.contains( "Error", false );
}
bool Microbe::isWarning( const TQString &message ) const
{
- return message.tqcontains( "Warning", false );
+ return message.contains( "Warning", false );
}