summaryrefslogtreecommitdiffstats
path: root/kate/kjswrapper/plugin_katekjswrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/kjswrapper/plugin_katekjswrapper.cpp')
-rw-r--r--kate/kjswrapper/plugin_katekjswrapper.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kate/kjswrapper/plugin_katekjswrapper.cpp b/kate/kjswrapper/plugin_katekjswrapper.cpp
index 521024c..926b184 100644
--- a/kate/kjswrapper/plugin_katekjswrapper.cpp
+++ b/kate/kjswrapper/plugin_katekjswrapper.cpp
@@ -53,8 +53,8 @@ void PluginKateKJSWrapperView::removeFromWindow() {
win->guiFactory()->removeClient (this);
}
-PluginKateKJSWrapper::PluginKateKJSWrapper( TQObject* tqparent, const char* name, const TQStringList& list)
- : Kate::Plugin ( (Kate::Application *)tqparent, name ) {
+PluginKateKJSWrapper::PluginKateKJSWrapper( TQObject* parent, const char* name, const TQStringList& list)
+ : Kate::Plugin ( (Kate::Application *)parent, name ) {
m_views.setAutoDelete(true);
m_scriptname=list[0];
m_kateAppBindings=new Kate::JS::Bindings(this);
@@ -370,18 +370,18 @@ void PluginKateKJSWrapper::applyConfig( KateKJSWrapperConfigPage *p )
#endif
}
-KateKJSWrapperConfigPage::KateKJSWrapperConfigPage(KJS::Object pageConstructor,PluginKateKJSWrapper* tqparent,
+KateKJSWrapperConfigPage::KateKJSWrapperConfigPage(KJS::Object pageConstructor,PluginKateKJSWrapper* parent,
TQWidget *parentWidget)
- : Kate::PluginConfigPage( parentWidget ),m_plugin(tqparent)
+ : Kate::PluginConfigPage( parentWidget ),m_plugin(parent)
{
TQVBoxLayout *l=new TQVBoxLayout(this);
l->setAutoAdd(true);
l->activate();
- KJS::Interpreter *js = tqparent->m_part->interpreter();
+ KJS::Interpreter *js = parent->m_part->interpreter();
KJS::ExecState *exec = js->globalExec();
exec->clearException();
KJS::List param;
- param.append(tqparent->m_part->factory()->createProxy(exec,this,0));
+ param.append(parent->m_part->factory()->createProxy(exec,this,0));
m_pageObject=pageConstructor.construct(exec,param);
}