From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/rfc822/kfile_rfc822.cpp | 30 +++++++++++++++--------------- kfile-plugins/rfc822/kfile_rfc822.h | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'kfile-plugins/rfc822') 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 #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #if !defined(__osf__) #include @@ -42,8 +42,8 @@ typedef KGenericFactory 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.. */ diff --git a/kfile-plugins/rfc822/kfile_rfc822.h b/kfile-plugins/rfc822/kfile_rfc822.h index f2066754a..e78cd3f55 100644 --- a/kfile-plugins/rfc822/kfile_rfc822.h +++ b/kfile-plugins/rfc822/kfile_rfc822.h @@ -29,7 +29,7 @@ class KRfc822Plugin: public KFilePlugin Q_OBJECT public: - KRfc822Plugin( QObject *parent, const char *name, const QStringList& args ); + KRfc822Plugin( TQObject *parent, const char *name, const TQStringList& args ); virtual bool readInfo( KFileMetaInfo& info, uint what); }; -- cgit v1.2.1