summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_vbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_vbox.cpp')
-rw-r--r--src/modules/objects/class_vbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/objects/class_vbox.cpp b/src/modules/objects/class_vbox.cpp
index edec898e..d068156e 100644
--- a/src/modules/objects/class_vbox.cpp
+++ b/src/modules/objects/class_vbox.cpp
@@ -67,7 +67,7 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_vbox)
bool KviKvsObject_vbox::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- setObject(TQT_TQOBJECT(new KviTalVBox(tqparentScriptWidget())), true);
+ setObject(TQT_TQOBJECT(new KviTalVBox(parentScriptWidget())), true);
return true;
}
@@ -118,7 +118,7 @@ bool KviKvsObject_vbox::functionsetStretchFactor(KviKvsObjectFunctionCall *c)
return true;
}
- if(((KviKvsObject_widget *)pObject)->widget()->tqparentWidget() != widget())
+ if(((KviKvsObject_widget *)pObject)->widget()->parentWidget() != widget())
{
c->warning(__tr2qs("The widget must be a child of this vbox"));
return true;