diff options
Diffstat (limited to 'src/languages/microbe.cpp')
-rw-r--r-- | src/languages/microbe.cpp | 8 |
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 ); } |