diff options
Diffstat (limited to 'kbabel/addons/kfile-plugins/kfile_po.cpp')
-rw-r--r-- | kbabel/addons/kfile-plugins/kfile_po.cpp | 20 |
1 files changed, 10 insertions, 10 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"); |