diff options
Diffstat (limited to 'kfile-plugins/ts/kfile_ts.cpp')
-rw-r--r-- | kfile-plugins/ts/kfile_ts.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kfile-plugins/ts/kfile_ts.cpp b/kfile-plugins/ts/kfile_ts.cpp index 0d6f5dc1..e027fda6 100644 --- a/kfile-plugins/ts/kfile_ts.cpp +++ b/kfile-plugins/ts/kfile_ts.cpp @@ -29,8 +29,8 @@ typedef KGenericFactory<KTsPlugin> TsFactory; K_EXPORT_COMPONENT_FACTORY(kfile_ts, TsFactory("kfile_ts")) -KTsPlugin::KTsPlugin(TQObject *parent, const char *name, - const TQStringList &args) : KFilePlugin(parent, name, args) +KTsPlugin::KTsPlugin(TQObject *tqparent, const char *name, + const TQStringList &args) : KFilePlugin(tqparent, name, args) { makeMimeTypeInfo( "application/x-linguist" ); } @@ -66,18 +66,18 @@ bool KTsPlugin::readInfo(KFileMetaInfo& info, uint) TQString line = stream.readLine(); // is it really a linguist file? - if (!line.contains("<!DOCTYPE TS>", false)) + if (!line.tqcontains("<!DOCTYPE TS>", false)) return false; while (!stream.eof()) { line = stream.readLine(); - if (line.contains("type=\"obsolete\"")) obsolete++; + if (line.tqcontains("type=\"obsolete\"")) obsolete++; - if (line.contains("<source>")) messages++; + if (line.tqcontains("<source>")) messages++; - if (line.contains("type=\"unfinished\"")) untranslated++; + if (line.tqcontains("type=\"unfinished\"")) untranslated++; } |