From 395a904bff7b4d6ead445c342f7ac0c5fbf29121 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 17:00:31 +0000 Subject: 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 --- kate/kjswrapper/plugin_katekjswrapper.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'kate/kjswrapper/plugin_katekjswrapper.h') diff --git a/kate/kjswrapper/plugin_katekjswrapper.h b/kate/kjswrapper/plugin_katekjswrapper.h index 9256b4c..ee6a311 100644 --- a/kate/kjswrapper/plugin_katekjswrapper.h +++ b/kate/kjswrapper/plugin_katekjswrapper.h @@ -73,9 +73,10 @@ class PluginKateKJSWrapper : public Kate::Plugin, Kate::PluginConfigInterfaceExtension { Q_OBJECT + TQ_OBJECT public: - PluginKateKJSWrapper( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() ); + PluginKateKJSWrapper( TQObject* tqparent = 0, const char* name = 0, const TQStringList& = TQStringList() ); virtual ~PluginKateKJSWrapper(); void addView (Kate::MainWindow *win); @@ -117,10 +118,11 @@ class PluginKateKJSWrapper : public Kate::Plugin, class KateKJSWrapperConfigPage : public Kate::PluginConfigPage { Q_OBJECT + TQ_OBJECT friend class PluginKateKJSWrapper; public: - KateKJSWrapperConfigPage(KJS::Object pageConstructor,PluginKateKJSWrapper* parent = 0L, TQWidget *parentWidget = 0L); + KateKJSWrapperConfigPage(KJS::Object pageConstructor,PluginKateKJSWrapper* tqparent = 0L, TQWidget *tqparentWidget = 0L); ~KateKJSWrapperConfigPage() {}; /** Reimplemented from Kate::PluginConfigPage @@ -166,6 +168,7 @@ namespace Kate { namespace JS { class ToolView: public TQVBox { Q_OBJECT + TQ_OBJECT public: ToolView(KJS::Object constr, KJS::ExecState *exec, KJSEmbed::JSFactory *factory, KJS::List parameters, const char * name); virtual ~ToolView(); -- cgit v1.2.1