summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_menubar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_menubar.cpp')
-rw-r--r--src/modules/objects/class_menubar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/class_menubar.cpp b/src/modules/objects/class_menubar.cpp
index 90ad0e7d..860ffafc 100644
--- a/src/modules/objects/class_menubar.cpp
+++ b/src/modules/objects/class_menubar.cpp
@@ -61,16 +61,16 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_menubar)
bool KviKvsObject_menubar::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- setObject(new QMenuBar(parentScriptWidget(), name()));
+ setObject(TQT_TQOBJECT(new TQMenuBar(tqparentScriptWidget(), name())));
return true;
}
bool KviKvsObject_menubar::functionInsertItem(KviKvsObjectFunctionCall *c)
{
- QString szItem;
+ TQString szItem;
KVSO_PARAMETERS_BEGIN(c)
KVSO_PARAMETER("item",KVS_PT_STRING,0,szItem)
KVSO_PARAMETERS_END(c)
- if (widget()) ((QMenuBar *)widget())->insertItem(szItem);
+ if (widget()) ((TQMenuBar *)widget())->insertItem(szItem);
return true;
}