summaryrefslogtreecommitdiffstats
path: root/kate/kjswrapper/bindings.h
diff options
context:
space:
mode:
Diffstat (limited to 'kate/kjswrapper/bindings.h')
-rw-r--r--kate/kjswrapper/bindings.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kate/kjswrapper/bindings.h b/kate/kjswrapper/bindings.h
index f33418f..4fc8449 100644
--- a/kate/kjswrapper/bindings.h
+++ b/kate/kjswrapper/bindings.h
@@ -19,6 +19,7 @@ namespace Kate {
class RefCountedObjectDict: public TQObject, public TQPtrDict<ObjectEntry> {
Q_OBJECT
+ TQ_OBJECT
public:
RefCountedObjectDict(int size);
void incRef();
@@ -33,7 +34,7 @@ namespace Kate {
class Bindings: public KJSEmbed::Bindings::JSBindingPlugin {
public:
- Bindings(TQObject *parent);
+ Bindings(TQObject *tqparent);
virtual ~Bindings();
KJS::Object createBinding(KJSEmbed::KJSEmbedPart *jspart, KJS::ExecState *exec, const KJS::List &args) const;
void addBindings(KJS::ExecState *exec, KJS::Object &target) const;
@@ -56,7 +57,7 @@ namespace Kate {
virtual KJS::Value call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args );
static void addBindings(KJS::ExecState *exec, KJSEmbed::JSObjectProxy *proxy,KJS::Object &target);
private:
- DocumentManager( KJS::ExecState *exec, int id, KJSEmbed::JSObjectProxy *parent, RefCountedObjectDict *dict );
+ DocumentManager( KJS::ExecState *exec, int id, KJSEmbed::JSObjectProxy *tqparent, RefCountedObjectDict *dict );
virtual ~DocumentManager();
private:
RefCountedObjectDict *m_dict;
@@ -97,7 +98,7 @@ namespace Kate {
virtual KJS::Value call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args );
static void addBindings(KJS::ExecState *exec, KJSEmbed::JSObjectProxy *proxy,KJS::Object &target);
private:
- Application( KJS::ExecState *exec, int id, KJSEmbed::JSObjectProxy *parent, PluginKateKJSWrapper *plugin );
+ Application( KJS::ExecState *exec, int id, KJSEmbed::JSObjectProxy *tqparent, PluginKateKJSWrapper *plugin );
~Application();
private:
int m_id;
@@ -135,7 +136,7 @@ namespace Kate {
virtual KJS::Value call( KJS::ExecState *exec, KJS::Object &self, const KJS::List &args );
static void addBindings(KJS::ExecState *exec, KJSEmbed::JSObjectProxy *proxy,KJS::Object &target);
private:
- MainWindow( KJS::ExecState *exec, int id, KJSEmbed::JSObjectProxy *parent, PluginKateKJSWrapper *plugin );
+ MainWindow( KJS::ExecState *exec, int id, KJSEmbed::JSObjectProxy *tqparent, PluginKateKJSWrapper *plugin );
~MainWindow();
private:
int m_id;