diff options
Diffstat (limited to 'kfile-plugins/rfc822')
-rw-r--r-- | kfile-plugins/rfc822/kfile_rfc822.cpp | 30 | ||||
-rw-r--r-- | kfile-plugins/rfc822/kfile_rfc822.h | 2 |
2 files changed, 16 insertions, 16 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.. */ 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); }; |