summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/folder
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
commit395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch)
tree9829cadb79d2cc7c29a940627fadb28b11e54150 /kfile-plugins/folder
parent399f47c376fdf4d19192732a701ea9578d11619d (diff)
downloadtdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz
tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/folder')
-rw-r--r--kfile-plugins/folder/kfile_folder.cpp4
-rw-r--r--kfile-plugins/folder/kfile_folder.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/kfile-plugins/folder/kfile_folder.cpp b/kfile-plugins/folder/kfile_folder.cpp
index fe4ea9a..8b08084 100644
--- a/kfile-plugins/folder/kfile_folder.cpp
+++ b/kfile-plugins/folder/kfile_folder.cpp
@@ -30,10 +30,10 @@ typedef KGenericFactory<KFolderPlugin> KFolderFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_folder, KFolderFactory( "kfile_folder" ))
-KFolderPlugin::KFolderPlugin(TQObject *parent, const char *name,
+KFolderPlugin::KFolderPlugin(TQObject *tqparent, const char *name,
const TQStringList &args)
- : KFilePlugin(parent, name, args)
+ : KFilePlugin(tqparent, name, args)
{
KFileMimeTypeInfo* info = addMimeTypeInfo( "inode/directory" );
diff --git a/kfile-plugins/folder/kfile_folder.h b/kfile-plugins/folder/kfile_folder.h
index 37487e4..ff3f241 100644
--- a/kfile-plugins/folder/kfile_folder.h
+++ b/kfile-plugins/folder/kfile_folder.h
@@ -27,9 +27,10 @@ class TQStringList;
class KFolderPlugin: public KFilePlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- KFolderPlugin( TQObject *parent, const char *name, const TQStringList& args );
+ KFolderPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
virtual bool readInfo( KFileMetaInfo& info, uint what);
};