diff options
Diffstat (limited to 'src/kvirc/kvs/kvi_kvs_object.cpp')
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_object.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_object.cpp b/src/kvirc/kvs/kvi_kvs_object.cpp index 6d51de2f..572ea1ac 100644 --- a/src/kvirc/kvs/kvi_kvs_object.cpp +++ b/src/kvirc/kvs/kvi_kvs_object.cpp @@ -70,7 +70,7 @@ Objects are arranged in tree structures. Each object that you create is either toplevel object or a tqchildren - of another object. A toplevel object is a tqparentless one. + of another object. A toplevel object is a parentless one. Obviously all objects can have tqchildren objects.[br][br] When an object is destroyed , all its tqchildren are also destroyed. @@ -690,7 +690,7 @@ KviKvsObject::~KviKvsObject() KviKvsKernel::instance()->objectController()->unregisterObject(this); - if(tqparentObject())tqparentObject()->unregisterChild(this); + if(parentObject())parentObject()->unregisterChild(this); if(m_pObject) { @@ -707,14 +707,14 @@ bool KviKvsObject::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pPara return true; } -TQWidget * KviKvsObject::tqparentScriptWidget() +TQWidget * KviKvsObject::parentScriptWidget() { - if(tqparentObject()) + if(parentObject()) { - if(tqparentObject()->object()) + if(parentObject()->object()) { - if(tqparentObject()->object()->isWidgetType()) - return (TQWidget *)(tqparentObject()->object()); + if(parentObject()->object()->isWidgetType()) + return (TQWidget *)(parentObject()->object()); } } return 0; @@ -920,7 +920,7 @@ bool KviKvsObject::function_name(KviKvsObjectFunctionCall * c) bool KviKvsObject::function_parent(KviKvsObjectFunctionCall * c) { - KviKvsObject * o = tqparentObject(); + KviKvsObject * o = parentObject(); c->returnValue()->setHObject(o ? o->handle() : (kvs_hobject_t)0); return true; } |