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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/objects/class_vbox.cpp b/src/modules/objects/class_vbox.cpp
index 477a5b69..edec898e 100644
--- a/src/modules/objects/class_vbox.cpp
+++ b/src/modules/objects/class_vbox.cpp
@@ -35,16 +35,16 @@
@type:
class
@short:
- Manages child widget vertical geometry
+ Manages child widget vertical tqgeometry
@inherits:
[class]object[/class]
@description:
- The vbox class widget provides vertical geometry management for its child widgets.
+ The vbox class widget provides vertical tqgeometry management for its child widgets.
@functions:
!fn: $setSpacing(<spacing:int>)
Sets the default spacing of the widgets in pixels
!fn: $setMargin(<margin:int>)
- Sets the dimension of the layout margin : the distance from the border to the outermost child widget edges.
+ Sets the dimension of the tqlayout margin : the distance from the border to the outermost child widget edges.
!fn: $setStretchFactor(<widget:hobject>,<stretch:uint>)
Sets the stretch factor of widget to stretch.
*/
@@ -67,7 +67,7 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_vbox)
bool KviKvsObject_vbox::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- setObject(new KviTalVBox(parentScriptWidget()), true);
+ setObject(TQT_TQOBJECT(new KviTalVBox(tqparentScriptWidget())), true);
return true;
}
@@ -118,11 +118,11 @@ bool KviKvsObject_vbox::functionsetStretchFactor(KviKvsObjectFunctionCall *c)
return true;
}
- if(((KviKvsObject_widget *)pObject)->widget()->parentWidget() != widget())
+ if(((KviKvsObject_widget *)pObject)->widget()->tqparentWidget() != widget())
{
c->warning(__tr2qs("The widget must be a child of this vbox"));
return true;
}
- ((KviTalVBox *)widget())->setStretchFactor(((QWidget *)(pObject->object())),uStretch);
+ ((KviTalVBox *)widget())->setStretchFactor(((TQWidget *)(pObject->object())),uStretch);
return true;
} \ No newline at end of file