summaryrefslogtreecommitdiffstats
path: root/src/languages/language.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/languages/language.cpp')
-rw-r--r--src/languages/language.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/languages/language.cpp b/src/languages/language.cpp
index f98d580..e2c4c7a 100644
--- a/src/languages/language.cpp
+++ b/src/languages/language.cpp
@@ -101,18 +101,18 @@ MessageInfo Language::extractMessageInfo( const TQString &text )
if ( !text.startsWith("/") )
return MessageInfo();
- const int index = text.tqfind( ":", 0, false );
+ const int index = text.find( ":", 0, false );
if ( index == -1 )
return MessageInfo();
const TQString fileName = text.left(index);
// Extra line number
const TQString message = text.right(text.length()-index);
- const int linePos = message.tqfind( TQRegExp(":[\\d]+") );
+ const int linePos = message.find( TQRegExp(":[\\d]+") );
int line = -1;
if ( linePos != -1 )
{
- const int linePosEnd = message.tqfind( ':', linePos+1 );
+ const int linePosEnd = message.find( ':', linePos+1 );
if ( linePosEnd != -1 )
{
const TQString number = message.mid( linePos+1, linePosEnd-linePos-1 ).stripWhiteSpace();
@@ -234,7 +234,7 @@ void ProcessOptions::setTargetFile( const TQString &file )
ProcessOptions::ProcessPath::MediaType ProcessOptions::guessMediaType( const TQString & url )
{
- TQString extension = url.right( url.length() - url.tqfindRev('.') - 1 );
+ TQString extension = url.right( url.length() - url.findRev('.') - 1 );
extension = extension.lower();
if ( extension == "asm" )