summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/ts/kfile_ts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/ts/kfile_ts.cpp')
-rw-r--r--kfile-plugins/ts/kfile_ts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kfile-plugins/ts/kfile_ts.cpp b/kfile-plugins/ts/kfile_ts.cpp
index e027fda6..72714887 100644
--- a/kfile-plugins/ts/kfile_ts.cpp
+++ b/kfile-plugins/ts/kfile_ts.cpp
@@ -66,18 +66,18 @@ bool KTsPlugin::readInfo(KFileMetaInfo& info, uint)
TQString line = stream.readLine();
// is it really a linguist file?
- if (!line.tqcontains("<!DOCTYPE TS>", false))
+ if (!line.contains("<!DOCTYPE TS>", false))
return false;
while (!stream.eof())
{
line = stream.readLine();
- if (line.tqcontains("type=\"obsolete\"")) obsolete++;
+ if (line.contains("type=\"obsolete\"")) obsolete++;
- if (line.tqcontains("<source>")) messages++;
+ if (line.contains("<source>")) messages++;
- if (line.tqcontains("type=\"unfinished\"")) untranslated++;
+ if (line.contains("type=\"unfinished\"")) untranslated++;
}