summaryrefslogtreecommitdiffstats
path: root/kbabel/datatools/regexp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/datatools/regexp')
-rw-r--r--kbabel/datatools/regexp/main.cc6
-rw-r--r--kbabel/datatools/regexp/main.h3
2 files changed, 5 insertions, 4 deletions
diff --git a/kbabel/datatools/regexp/main.cc b/kbabel/datatools/regexp/main.cc
index eca0be81..132a8c21 100644
--- a/kbabel/datatools/regexp/main.cc
+++ b/kbabel/datatools/regexp/main.cc
@@ -49,13 +49,13 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_regexptool, KGenericFactory<RegExpTool> ( "kb
using namespace KBabel;
-RegExpTool::RegExpTool( TQObject* parent, const char* name, const TQStringList & )
- : KDataTool( parent, name )
+RegExpTool::RegExpTool( TQObject* tqparent, const char* name, const TQStringList & )
+ : KDataTool( tqparent, name )
{
i18n("which check found errors","translation has inconsistent length");
loadExpressions();
if ( ! _error.isNull() )
- KMessageBox::error( (TQWidget*)parent, i18n( "Error loading data (%1)" ).arg( _error ) );
+ KMessageBox::error( (TQWidget*)tqparent, i18n( "Error loading data (%1)" ).tqarg( _error ) );
}
bool RegExpTool::run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype )
diff --git a/kbabel/datatools/regexp/main.h b/kbabel/datatools/regexp/main.h
index 64df538b..c28c37d0 100644
--- a/kbabel/datatools/regexp/main.h
+++ b/kbabel/datatools/regexp/main.h
@@ -57,9 +57,10 @@ typedef TQValueList<Expression> ExpressionList;
class RegExpTool : public KDataTool
{
Q_OBJECT
+ TQ_OBJECT
public:
- RegExpTool( TQObject* parent, const char* name, const TQStringList & );
+ RegExpTool( TQObject* tqparent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private: