From 0813b39aed2cf4c84157a22c4c9594336d93d412 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/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- poxml/transxx.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'poxml/transxx.cpp') diff --git a/poxml/transxx.cpp b/poxml/transxx.cpp index 92004372..864259da 100644 --- a/poxml/transxx.cpp +++ b/poxml/transxx.cpp @@ -42,7 +42,7 @@ int main(int argc, char **argv) return 1; } - const bool is_desktop = filename.tqfind( "desktop_") >= 0; + const bool is_desktop = filename.find( "desktop_") >= 0; // The header is the last item (due too the sorting) MsgList::const_iterator header = --translated.end(); @@ -85,22 +85,22 @@ int main(int argc, char **argv) TQString msgstr; - if ( msgid.tqfind( "Definition of PluralForm" ) != -1 ) { + if ( msgid.find( "Definition of PluralForm" ) != -1 ) { outputMsg("msgstr", "NoPlural"); cout << "\n"; continue; } if ( is_desktop ) { - msgstr = msgid.left( msgid.tqfind( '=' ) + 1); - msgstr += translation + msgid.mid( msgid.tqfind( '=' ) + 1) + translation; + msgstr = msgid.left( msgid.find( '=' ) + 1); + msgstr += translation + msgid.mid( msgid.find( '=' ) + 1) + translation; outputMsg( "msgstr", escapePO(msgstr) ); cout << "\n"; continue; } if (msgid.startsWith("_n: ") || msgid.startsWith("_: ") ) { // KDE extentions - msgid = msgid.mid(msgid.tqfind("\\n") + 2, msgid.length()); + msgid = msgid.mid(msgid.find("\\n") + 2, msgid.length()); } if (msgid.endsWith("%")) -- cgit v1.2.3