summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_listviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_listviewitem.cpp')
-rw-r--r--src/modules/objects/class_listviewitem.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/objects/class_listviewitem.cpp b/src/modules/objects/class_listviewitem.cpp
index 0834796c..f3826289 100644
--- a/src/modules/objects/class_listviewitem.cpp
+++ b/src/modules/objects/class_listviewitem.cpp
@@ -137,17 +137,17 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_listviewitem)
bool KviKvsObject_listviewitem::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
- if (!tqparentObject())
+ if (!parentObject())
{
- pContext->error(__tr2qs("The listviewitem cannot be tqparentless"));
+ pContext->error(__tr2qs("The listviewitem cannot be parentless"));
return false;
}
- if(tqparentObject()->inherits("KviKvsObject_listviewitem"))
+ if(parentObject()->inherits("KviKvsObject_listviewitem"))
{
- m_pListViewItem = new KviKvsMdmStandardListViewItem(this,((KviKvsObject_listviewitem *)tqparentObject())->m_pListViewItem);
+ m_pListViewItem = new KviKvsMdmStandardListViewItem(this,((KviKvsObject_listviewitem *)parentObject())->m_pListViewItem);
} else {
- if(tqparentObject()->inherits("KviKvsObject_listview"))
- m_pListViewItem = new KviKvsMdmStandardListViewItem(this,((KviTalListView *)tqparentScriptWidget()));
+ if(parentObject()->inherits("KviKvsObject_listview"))
+ m_pListViewItem = new KviKvsMdmStandardListViewItem(this,((KviTalListView *)parentScriptWidget()));
else {
pContext->error(__tr2qs("The tqparent of the listviewitem must be either another listviewitem or a listview"));
return false;