summaryrefslogtreecommitdiffstats
path: root/kbabel/addons/kfile-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/addons/kfile-plugins')
-rw-r--r--kbabel/addons/kfile-plugins/kfile_po.cpp20
-rw-r--r--kbabel/addons/kfile-plugins/kfile_po.h2
2 files changed, 11 insertions, 11 deletions
diff --git a/kbabel/addons/kfile-plugins/kfile_po.cpp b/kbabel/addons/kfile-plugins/kfile_po.cpp
index 190d81fc..457e4bd9 100644
--- a/kbabel/addons/kfile-plugins/kfile_po.cpp
+++ b/kbabel/addons/kfile-plugins/kfile_po.cpp
@@ -30,7 +30,7 @@
#include "kfile_po.h"
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include "poinfo.h"
#include <kgenericfactory.h>
@@ -40,8 +40,8 @@ using namespace KBabel;
typedef KGenericFactory<KPoPlugin> POFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_po, POFactory("kfile_po"))
-KPoPlugin::KPoPlugin(QObject *parent, const char *name,
- const QStringList& args)
+KPoPlugin::KPoPlugin(TQObject *parent, const char *name,
+ const TQStringList& args)
: KFilePlugin(parent, name, args)
{
KFileMimeTypeInfo* info = addMimeTypeInfo("application/x-gettext");
@@ -50,18 +50,18 @@ KPoPlugin::KPoPlugin(QObject *parent, const char *name,
addGroupInfo(info, "CatalogInfo", i18n("Catalog Information"));
KFileMimeTypeInfo::ItemInfo* item;
- item = addItemInfo(group, "Total", i18n("Total Messages"), QVariant::Int);
- item = addItemInfo(group, "Fuzzy", i18n("Fuzzy Messages"), QVariant::Int);
- item = addItemInfo(group, "Untranslated", i18n("Untranslated Messages"), QVariant::Int);
- item = addItemInfo(group, "LastTranslator", i18n("Last Translator"), QVariant::String);
- item = addItemInfo(group, "LanguageTeam", i18n("Language Team"), QVariant::String);
- item = addItemInfo(group, "Revision", i18n("Revision"), QVariant::String);
+ item = addItemInfo(group, "Total", i18n("Total Messages"), TQVariant::Int);
+ item = addItemInfo(group, "Fuzzy", i18n("Fuzzy Messages"), TQVariant::Int);
+ item = addItemInfo(group, "Untranslated", i18n("Untranslated Messages"), TQVariant::Int);
+ item = addItemInfo(group, "LastTranslator", i18n("Last Translator"), TQVariant::String);
+ item = addItemInfo(group, "LanguageTeam", i18n("Language Team"), TQVariant::String);
+ item = addItemInfo(group, "Revision", i18n("Revision"), TQVariant::String);
}
bool KPoPlugin::readInfo(KFileMetaInfo& metaInfo, uint)
{
PoInfo poInfo;
- QStringList wordList;
+ TQStringList wordList;
ConversionStatus status = PoInfo::info(metaInfo.path(), poInfo, wordList, false, false, false);
if (status == OK) {
KFileMetaInfoGroup group = appendGroup(metaInfo, "CatalogInfo");
diff --git a/kbabel/addons/kfile-plugins/kfile_po.h b/kbabel/addons/kfile-plugins/kfile_po.h
index 8e69a0ce..9b707a8f 100644
--- a/kbabel/addons/kfile-plugins/kfile_po.h
+++ b/kbabel/addons/kfile-plugins/kfile_po.h
@@ -42,7 +42,7 @@ class KPoPlugin : public KFilePlugin
Q_OBJECT
public:
- KPoPlugin(QObject *parent, const char *name, const QStringList& args);
+ KPoPlugin(TQObject *parent, const char *name, const TQStringList& args);
virtual bool readInfo(KFileMetaInfo& info, uint);
};