summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_hbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_hbox.cpp')
-rw-r--r--src/modules/objects/class_hbox.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/objects/class_hbox.cpp b/src/modules/objects/class_hbox.cpp
index 48174312..cf855640 100644
--- a/src/modules/objects/class_hbox.cpp
+++ b/src/modules/objects/class_hbox.cpp
@@ -35,16 +35,16 @@
@type:
class
@short:
- Manages child widget horizontal geometry
+ Manages child widget horizontal tqgeometry
@inherits:
[class]object[/class]
@description:
- The hbox class widget provides horizontal geometry management for its child widgets.
+ The hbox class widget provides horizontal tqgeometry management for its child widgets.
@functions:
!fn: $setSpacing(<spacing:uint>)
Sets the default spacing of the widgets in pixels
!fn: $setMargin(<margin:uint>)
- 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.
*/
@@ -68,7 +68,7 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_hbox)
bool KviKvsObject_hbox::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- setObject(new KviTalHBox(parentScriptWidget()), true);
+ setObject(TQT_TQOBJECT(new KviTalHBox(tqparentScriptWidget())), true);
return true;
}
bool KviKvsObject_hbox::functionsetMargin(KviKvsObjectFunctionCall *c)
@@ -116,12 +116,12 @@ bool KviKvsObject_hbox::functionsetStretchFactor(KviKvsObjectFunctionCall *c)
c->warning(__tr2qs("Can't add a non-widget object"));
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 hbox"));
return true;
}
- ((KviTalHBox *)widget())->setStretchFactor(((QWidget *)(pObject->object())),uStretch);
+ ((KviTalHBox *)widget())->setStretchFactor(((TQWidget *)(pObject->object())),uStretch);
return true;
}