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.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbabel/datatools/equations/main.cc b/kbabel/datatools/equations/main.cc
index 14a03cd6..64d19adf 100644
--- a/kbabel/datatools/equations/main.cc
+++ b/kbabel/datatools/equations/main.cc
@@ -52,13 +52,13 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_equationstool, KGenericFactory<EquationsTool>
using namespace KBabel;
-EquationsTool::EquationsTool( QObject* parent, const char* name, const QStringList & )
+EquationsTool::EquationsTool( TQObject* parent, const char* name, const TQStringList & )
: KDataTool( parent, name ), _equation("^[a-zA-Z0-9]+=.+")
{
i18n("what check found errors","equations");
}
-bool EquationsTool::run( const QString& command, void* data, const QString& datatype, const QString& mimetype )
+bool EquationsTool::run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype )
{
if ( command != "validate" )
{
@@ -90,7 +90,7 @@ bool EquationsTool::run( const QString& command, void* data, const QString& data
&& item->msgid().first().contains(_equation))
{
int index = item->msgid().first().find('=');
- QString left = item->msgid().first().left(index);
+ TQString left = item->msgid().first().left(index);
index = item->msgstr().first().find('=');
if(left != item->msgstr().first().left(index))
hasError = true;