summaryrefslogtreecommitdiffstats
path: root/kfile-plugins
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kfile-plugins
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-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.cpp4
-rw-r--r--kfile-plugins/ics/kfile_ics.h3
-rw-r--r--kfile-plugins/palm-databases/kfile_palm.cpp4
-rw-r--r--kfile-plugins/palm-databases/kfile_palm.h3
-rw-r--r--kfile-plugins/rfc822/kfile_rfc822.cpp4
-rw-r--r--kfile-plugins/rfc822/kfile_rfc822.h3
-rw-r--r--kfile-plugins/vcf/kfile_vcf.cpp4
-rw-r--r--kfile-plugins/vcf/kfile_vcf.h3
8 files changed, 16 insertions, 12 deletions
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<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 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<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 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<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 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<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 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);
};