summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_checkbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_checkbox.cpp')
-rw-r--r--src/modules/objects/class_checkbox.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/objects/class_checkbox.cpp b/src/modules/objects/class_checkbox.cpp
index a651adb8..27a0fc1d 100644
--- a/src/modules/objects/class_checkbox.cpp
+++ b/src/modules/objects/class_checkbox.cpp
@@ -79,10 +79,10 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_checkbox)
bool KviKvsObject_checkbox::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- KviStyledCheckBox * cb = new KviStyledCheckBox(parentScriptWidget(), name());
- setObject(cb, true);
- connect(cb,SIGNAL(toggled(bool)),this,SLOT(toggled(bool)));
- connect(widget(),SIGNAL(clicked()),this,SLOT(slotClicked()));
+ KviStyledCheckBox * cb = new KviStyledCheckBox(tqparentScriptWidget(), name());
+ setObject(TQT_TQOBJECT(cb), true);
+ connect(cb,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(toggled(bool)));
+ connect(widget(),TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked()));
return true;
}
@@ -104,7 +104,7 @@ bool KviKvsObject_checkbox::function_setChecked(KviKvsObjectFunctionCall *c)
bool KviKvsObject_checkbox::function_setText(KviKvsObjectFunctionCall *c)
{
- QString szText;
+ TQString szText;
KVSO_PARAMETERS_BEGIN(c)
KVSO_PARAMETER("text",KVS_PT_STRING,0,szText)
KVSO_PARAMETERS_END(c)