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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/class_checkbox.cpp b/src/modules/objects/class_checkbox.cpp
index 077c2ffb..4975c30f 100644
--- a/src/modules/objects/class_checkbox.cpp
+++ b/src/modules/objects/class_checkbox.cpp
@@ -79,7 +79,7 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_checkbox)
bool KviKvsObject_checkbox::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
KviStyledCheckBox * cb = new KviStyledCheckBox(parentScriptWidget(), name());
- setObject(TQT_TQOBJECT(cb), true);
+ setObject(cb, true);
connect(cb,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(toggled(bool)));
connect(widget(),TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked()));
return true;