summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/rfc822/kfile_rfc822.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kfile-plugins/rfc822/kfile_rfc822.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/rfc822/kfile_rfc822.cpp')
-rw-r--r--kfile-plugins/rfc822/kfile_rfc822.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kfile-plugins/rfc822/kfile_rfc822.cpp b/kfile-plugins/rfc822/kfile_rfc822.cpp
index 794d335d6..6d2488841 100644
--- a/kfile-plugins/rfc822/kfile_rfc822.cpp
+++ b/kfile-plugins/rfc822/kfile_rfc822.cpp
@@ -26,11 +26,11 @@
#include <kstringvalidator.h>
#include <kdebug.h>
-#include <qdict.h>
-#include <qvalidator.h>
-#include <qcstring.h>
-#include <qfile.h>
-#include <qdatetime.h>
+#include <tqdict.h>
+#include <tqvalidator.h>
+#include <tqcstring.h>
+#include <tqfile.h>
+#include <tqdatetime.h>
#if !defined(__osf__)
#include <inttypes.h>
@@ -42,8 +42,8 @@ typedef KGenericFactory<KRfc822Plugin> Rfc822Factory;
K_EXPORT_COMPONENT_FACTORY(kfile_rfc822, Rfc822Factory( "kfile_rfc822" ))
-KRfc822Plugin::KRfc822Plugin(QObject *parent, const char *name,
- const QStringList &args)
+KRfc822Plugin::KRfc822Plugin(TQObject *parent, const char *name,
+ const TQStringList &args)
: KFilePlugin(parent, name, args)
{
@@ -55,27 +55,27 @@ KRfc822Plugin::KRfc822Plugin(QObject *parent, const char *name,
KFileMimeTypeInfo::ItemInfo* item;
- item = addItemInfo(group, "From", i18n("From"), QVariant::String);
- item = addItemInfo(group, "To", i18n("To"), QVariant::String);
- item = addItemInfo(group, "Subject", i18n("Subject"), QVariant::String);
- item = addItemInfo(group, "Date", i18n("Date"), QVariant::String);
- item = addItemInfo(group, "Content-Type", i18n("Content-Type"), QVariant::String);
+ item = addItemInfo(group, "From", i18n("From"), TQVariant::String);
+ item = addItemInfo(group, "To", i18n("To"), TQVariant::String);
+ item = addItemInfo(group, "Subject", i18n("Subject"), TQVariant::String);
+ item = addItemInfo(group, "Date", i18n("Date"), TQVariant::String);
+ item = addItemInfo(group, "Content-Type", i18n("Content-Type"), TQVariant::String);
}
bool KRfc822Plugin::readInfo( KFileMetaInfo& info, uint /*what*/ )
{
- QFile file(info.path());
+ TQFile file(info.path());
if (!file.open(IO_ReadOnly))
{
- kdDebug(7034) << "Couldn't open " << QFile::encodeName(info.path()) << endl;
+ kdDebug(7034) << "Couldn't open " << TQFile::encodeName(info.path()) << endl;
return false;
}
/*
- Note to self: probably should use QCString for all this, but
+ Note to self: probably should use TQCString for all this, but
what we're doing is simple and self-contained so never mind..
*/