summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_toolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_toolbar.cpp')
-rw-r--r--src/modules/objects/class_toolbar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/class_toolbar.cpp b/src/modules/objects/class_toolbar.cpp
index 036c31ee..637feff7 100644
--- a/src/modules/objects/class_toolbar.cpp
+++ b/src/modules/objects/class_toolbar.cpp
@@ -79,14 +79,14 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_toolbar)
bool KviKvsObject_toolbar::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- if (!tqparentObject())
+ if (!parentObject())
{
pContext->warning(__tr2qs("the toolbar cannot be a tqparent-widget!"));
return true;
}
- if(tqparentObject()->inherits("KviKvsObject_mainwindow"))
+ if(parentObject()->inherits("KviKvsObject_mainwindow"))
{
- setObject(TQT_TQOBJECT(new KviTalToolBar(name(), ((KviTalMainWindow *)tqparentScriptWidget()))), true);
+ setObject(TQT_TQOBJECT(new KviTalToolBar(name(), ((KviTalMainWindow *)parentScriptWidget()))), true);
}
else
{