From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/ics/kfile_ics.cpp | 4 ++-- kfile-plugins/ics/kfile_ics.h | 3 ++- kfile-plugins/palm-databases/kfile_palm.cpp | 4 ++-- kfile-plugins/palm-databases/kfile_palm.h | 3 ++- kfile-plugins/rfc822/kfile_rfc822.cpp | 4 ++-- kfile-plugins/rfc822/kfile_rfc822.h | 3 ++- kfile-plugins/vcf/kfile_vcf.cpp | 4 ++-- kfile-plugins/vcf/kfile_vcf.h | 3 ++- 8 files changed, 16 insertions(+), 12 deletions(-) (limited to 'kfile-plugins') diff --git a/kfile-plugins/ics/kfile_ics.cpp b/kfile-plugins/ics/kfile_ics.cpp index b8346f4f4..aa4ece8c9 100644 --- a/kfile-plugins/ics/kfile_ics.cpp +++ b/kfile-plugins/ics/kfile_ics.cpp @@ -33,8 +33,8 @@ using namespace KCal; typedef KGenericFactory ICSFactory; K_EXPORT_COMPONENT_FACTORY(kfile_ics, ICSFactory( "kfile_ics" )) -ICSPlugin::ICSPlugin( TQObject *parent, const char *name, const TQStringList& args ) - : KFilePlugin( parent, name, args ) +ICSPlugin::ICSPlugin( TQObject *tqparent, const char *name, const TQStringList& args ) + : KFilePlugin( tqparent, name, args ) { KFileMimeTypeInfo* info = addMimeTypeInfo( "text/calendar" ); //TODO: vcs !! diff --git a/kfile-plugins/ics/kfile_ics.h b/kfile-plugins/ics/kfile_ics.h index f8f29e9cc..342c0d454 100644 --- a/kfile-plugins/ics/kfile_ics.h +++ b/kfile-plugins/ics/kfile_ics.h @@ -27,8 +27,9 @@ class TQStringList; class ICSPlugin : public KFilePlugin { Q_OBJECT + TQ_OBJECT public: - ICSPlugin( TQObject *parent, const char *name, const TQStringList& args ); + ICSPlugin( TQObject *tqparent, const char *name, const TQStringList& args ); virtual bool readInfo( KFileMetaInfo& info, uint what ); }; diff --git a/kfile-plugins/palm-databases/kfile_palm.cpp b/kfile-plugins/palm-databases/kfile_palm.cpp index c38650766..0e4db00cd 100644 --- a/kfile-plugins/palm-databases/kfile_palm.cpp +++ b/kfile-plugins/palm-databases/kfile_palm.cpp @@ -33,10 +33,10 @@ typedef KGenericFactory PalmFactory; K_EXPORT_COMPONENT_FACTORY(kfile_palm, PalmFactory( "kfile_palm" )) -KPalmPlugin::KPalmPlugin(TQObject *parent, const char *name, +KPalmPlugin::KPalmPlugin(TQObject *tqparent, const char *name, const TQStringList &args) - : KFilePlugin(parent, name, args) + : KFilePlugin(tqparent, name, args) { KFileMimeTypeInfo* info = addMimeTypeInfo( "application/vnd.palm" ); diff --git a/kfile-plugins/palm-databases/kfile_palm.h b/kfile-plugins/palm-databases/kfile_palm.h index 1797ee9a9..d42225ee1 100644 --- a/kfile-plugins/palm-databases/kfile_palm.h +++ b/kfile-plugins/palm-databases/kfile_palm.h @@ -29,9 +29,10 @@ class TQStringList; class KPalmPlugin: public KFilePlugin { Q_OBJECT + TQ_OBJECT public: - KPalmPlugin( TQObject *parent, const char *name, const TQStringList& args ); + KPalmPlugin( TQObject *tqparent, const char *name, const TQStringList& args ); virtual bool readInfo( KFileMetaInfo& info, uint what); // virtual bool writeInfo( const KFileMetaInfo& info ) const; diff --git a/kfile-plugins/rfc822/kfile_rfc822.cpp b/kfile-plugins/rfc822/kfile_rfc822.cpp index 6d2488841..f5ee73c62 100644 --- a/kfile-plugins/rfc822/kfile_rfc822.cpp +++ b/kfile-plugins/rfc822/kfile_rfc822.cpp @@ -42,10 +42,10 @@ typedef KGenericFactory Rfc822Factory; K_EXPORT_COMPONENT_FACTORY(kfile_rfc822, Rfc822Factory( "kfile_rfc822" )) -KRfc822Plugin::KRfc822Plugin(TQObject *parent, const char *name, +KRfc822Plugin::KRfc822Plugin(TQObject *tqparent, const char *name, const TQStringList &args) - : KFilePlugin(parent, name, args) + : KFilePlugin(tqparent, name, args) { KFileMimeTypeInfo* info = addMimeTypeInfo( "message/rfc822" ); diff --git a/kfile-plugins/rfc822/kfile_rfc822.h b/kfile-plugins/rfc822/kfile_rfc822.h index 85f026e1e..9a2325066 100644 --- a/kfile-plugins/rfc822/kfile_rfc822.h +++ b/kfile-plugins/rfc822/kfile_rfc822.h @@ -27,9 +27,10 @@ class TQStringList; class KRfc822Plugin: public KFilePlugin { Q_OBJECT + TQ_OBJECT public: - KRfc822Plugin( TQObject *parent, const char *name, const TQStringList& args ); + KRfc822Plugin( TQObject *tqparent, const char *name, const TQStringList& args ); virtual bool readInfo( KFileMetaInfo& info, uint what); }; diff --git a/kfile-plugins/vcf/kfile_vcf.cpp b/kfile-plugins/vcf/kfile_vcf.cpp index 6c083895b..84b29696e 100644 --- a/kfile-plugins/vcf/kfile_vcf.cpp +++ b/kfile-plugins/vcf/kfile_vcf.cpp @@ -33,10 +33,10 @@ typedef KGenericFactory VcfFactory; K_EXPORT_COMPONENT_FACTORY(kfile_vcf, VcfFactory( "kfile_vcf" )) -KVcfPlugin::KVcfPlugin(TQObject *parent, const char *name, +KVcfPlugin::KVcfPlugin(TQObject *tqparent, const char *name, const TQStringList &args) - : KFilePlugin(parent, name, args) + : KFilePlugin(tqparent, name, args) { KFileMimeTypeInfo* info = addMimeTypeInfo( "text/x-vcard" ); diff --git a/kfile-plugins/vcf/kfile_vcf.h b/kfile-plugins/vcf/kfile_vcf.h index 705a9bd7a..e617d4db7 100644 --- a/kfile-plugins/vcf/kfile_vcf.h +++ b/kfile-plugins/vcf/kfile_vcf.h @@ -27,9 +27,10 @@ class TQStringList; class KVcfPlugin: public KFilePlugin { Q_OBJECT + TQ_OBJECT public: - KVcfPlugin( TQObject *parent, const char *name, const TQStringList& args ); + KVcfPlugin( TQObject *tqparent, const char *name, const TQStringList& args ); virtual bool readInfo( KFileMetaInfo& info, uint what); }; -- cgit v1.2.1