summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/txt
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/txt
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/txt')
-rw-r--r--kfile-plugins/txt/kfile_txt.cpp4
-rw-r--r--kfile-plugins/txt/kfile_txt.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/kfile-plugins/txt/kfile_txt.cpp b/kfile-plugins/txt/kfile_txt.cpp
index fbd1c8b..47f0d64 100644
--- a/kfile-plugins/txt/kfile_txt.cpp
+++ b/kfile-plugins/txt/kfile_txt.cpp
@@ -30,8 +30,8 @@ typedef KGenericFactory<KTxtPlugin> TxtFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_txt, TxtFactory("kfile_txt"))
-KTxtPlugin::KTxtPlugin(TQObject *parent, const char *name,
- const TQStringList &args) : KFilePlugin(parent, name, args)
+KTxtPlugin::KTxtPlugin(TQObject *tqparent, const char *name,
+ const TQStringList &args) : KFilePlugin(tqparent, name, args)
{
kdDebug(7034) << "Text file meta info plugin\n";
makeMimeTypeInfo( "text/plain" );
diff --git a/kfile-plugins/txt/kfile_txt.h b/kfile-plugins/txt/kfile_txt.h
index ab7a206..c765a83 100644
--- a/kfile-plugins/txt/kfile_txt.h
+++ b/kfile-plugins/txt/kfile_txt.h
@@ -27,9 +27,10 @@ class TQStringList;
class KTxtPlugin: public KFilePlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- KTxtPlugin(TQObject *parent, const char *name, const TQStringList& args);
+ KTxtPlugin(TQObject *tqparent, const char *name, const TQStringList& args);
virtual bool readInfo(KFileMetaInfo& info, uint what);
private: