diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kfile-plugins | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
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
Diffstat (limited to 'kfile-plugins')
-rw-r--r-- | kfile-plugins/ics/kfile_ics.cpp | 4 | ||||
-rw-r--r-- | kfile-plugins/ics/kfile_ics.h | 3 | ||||
-rw-r--r-- | kfile-plugins/palm-databases/kfile_palm.cpp | 4 | ||||
-rw-r--r-- | kfile-plugins/palm-databases/kfile_palm.h | 3 | ||||
-rw-r--r-- | kfile-plugins/rfc822/kfile_rfc822.cpp | 4 | ||||
-rw-r--r-- | kfile-plugins/rfc822/kfile_rfc822.h | 3 | ||||
-rw-r--r-- | kfile-plugins/vcf/kfile_vcf.cpp | 4 | ||||
-rw-r--r-- | kfile-plugins/vcf/kfile_vcf.h | 3 |
8 files changed, 16 insertions, 12 deletions
diff --git a/kfile-plugins/ics/kfile_ics.cpp b/kfile-plugins/ics/kfile_ics.cpp index b8346f4f..aa4ece8c 100644 --- a/kfile-plugins/ics/kfile_ics.cpp +++ b/kfile-plugins/ics/kfile_ics.cpp @@ -33,8 +33,8 @@ using namespace KCal; typedef KGenericFactory<ICSPlugin> 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 f8f29e9c..342c0d45 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 c3865076..0e4db00c 100644 --- a/kfile-plugins/palm-databases/kfile_palm.cpp +++ b/kfile-plugins/palm-databases/kfile_palm.cpp @@ -33,10 +33,10 @@ typedef KGenericFactory<KPalmPlugin> 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 1797ee9a..d42225ee 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 6d248884..f5ee73c6 100644 --- a/kfile-plugins/rfc822/kfile_rfc822.cpp +++ b/kfile-plugins/rfc822/kfile_rfc822.cpp @@ -42,10 +42,10 @@ typedef KGenericFactory<KRfc822Plugin> 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 85f026e1..9a232506 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 6c083895..84b29696 100644 --- a/kfile-plugins/vcf/kfile_vcf.cpp +++ b/kfile-plugins/vcf/kfile_vcf.cpp @@ -33,10 +33,10 @@ typedef KGenericFactory<KVcfPlugin> 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 705a9bd7..e617d4db 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); }; |