diff options
Diffstat (limited to 'kbabel/datatools/pluralforms')
-rw-r--r-- | kbabel/datatools/pluralforms/main.cc | 6 | ||||
-rw-r--r-- | kbabel/datatools/pluralforms/main.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kbabel/datatools/pluralforms/main.cc b/kbabel/datatools/pluralforms/main.cc index 4d275e60..87dfef71 100644 --- a/kbabel/datatools/pluralforms/main.cc +++ b/kbabel/datatools/pluralforms/main.cc @@ -53,13 +53,13 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_pluraltool, KGenericFactory<PluralsTool> ( "k using namespace KBabel; -PluralsTool::PluralsTool( QObject* parent, const char* name, const QStringList & ) +PluralsTool::PluralsTool( TQObject* parent, const char* name, const TQStringList & ) : KDataTool( parent, name ), _cache_origin( 0 ), _neededForms(-1) { i18n("what check found errors", "plural forms"); } -bool PluralsTool::run( const QString& command, void* data, const QString& datatype, const QString& mimetype ) +bool PluralsTool::run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype ) { if ( command != "validate" ) { @@ -106,7 +106,7 @@ bool PluralsTool::run( const QString& command, void* data, const QString& dataty { hasError = true; } - else if( item->msgstr().first().contains(QString("\\n"))+1 != _neededForms ) + else if( item->msgstr().first().contains(TQString("\\n"))+1 != _neededForms ) { hasError = true; } diff --git a/kbabel/datatools/pluralforms/main.h b/kbabel/datatools/pluralforms/main.h index f2101975..420824d2 100644 --- a/kbabel/datatools/pluralforms/main.h +++ b/kbabel/datatools/pluralforms/main.h @@ -42,11 +42,11 @@ class PluralsTool : public KDataTool Q_OBJECT public: - PluralsTool( QObject* parent, const char* name, const QStringList & ); - virtual bool run( const QString& command, void* data, const QString& datatype, const QString& mimetype); + PluralsTool( TQObject* parent, const char* name, const TQStringList & ); + virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype); private: KBabel::Project::Ptr _cache_origin; - QRegExp _plurals; + TQRegExp _plurals; int _neededForms; }; |