summaryrefslogtreecommitdiffstats
path: root/kbabel/addons/kfile-plugins/kfile_po.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/addons/kfile-plugins/kfile_po.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/addons/kfile-plugins/kfile_po.cpp')
-rw-r--r--kbabel/addons/kfile-plugins/kfile_po.cpp20
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");