summaryrefslogtreecommitdiffstats
path: root/kbabel/datatools/equations/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/datatools/equations/main.cc')
-rw-r--r--kbabel/datatools/equations/main.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/kbabel/datatools/equations/main.cc b/kbabel/datatools/equations/main.cc
index 64d19adf..96cb3057 100644
--- a/kbabel/datatools/equations/main.cc
+++ b/kbabel/datatools/equations/main.cc
@@ -19,11 +19,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -52,8 +52,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_equationstool, KGenericFactory<EquationsTool>
using namespace KBabel;
-EquationsTool::EquationsTool( TQObject* parent, const char* name, const TQStringList & )
- : KDataTool( parent, name ), _equation("^[a-zA-Z0-9]+=.+")
+EquationsTool::EquationsTool( TQObject* tqparent, const char* name, const TQStringList & )
+ : KDataTool( tqparent, name ), _equation("^[a-zA-Z0-9]+=.+")
{
i18n("what check found errors","equations");
}
@@ -86,12 +86,12 @@ bool EquationsTool::run( const TQString& command, void* data, const TQString& da
bool hasError = false;
- if(!item->isUntranslated() && !item->msgid().first().contains('\n')
- && item->msgid().first().contains(_equation))
+ if(!item->isUntranslated() && !item->msgid().first().tqcontains('\n')
+ && item->msgid().first().tqcontains(_equation))
{
- int index = item->msgid().first().find('=');
+ int index = item->msgid().first().tqfind('=');
TQString left = item->msgid().first().left(index);
- index = item->msgstr().first().find('=');
+ index = item->msgstr().first().tqfind('=');
if(left != item->msgstr().first().left(index))
hasError = true;
}