CComponentsItem: move function isAdded() to CComponentsItem class

Origin commit data
------------------
Commit: 3438b23f68
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-19 (Sat, 19 Oct 2013)
This commit is contained in:
2013-10-19 01:13:26 +02:00
parent 90325927de
commit a1b81db73e
7 changed files with 19 additions and 18 deletions

View File

@@ -151,3 +151,12 @@ int CComponentsItem::getItemType()
#endif
return -1;
}
//returns true if current item is added to a form
bool CComponentsItem::isAdded(CComponentsItem *parent_frm)
{
if (cc_parent)
return true;
return false;
}