From 4ae0c208b66e0f7954e194384464fe2d0a2c56dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:51:49 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kbabel/addons/kfile-plugins/kfile_po.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kbabel/addons/kfile-plugins/kfile_po.cpp') 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 +#include #include "poinfo.h" #include @@ -40,8 +40,8 @@ using namespace KBabel; typedef KGenericFactory 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"); -- cgit v1.2.1