CComponentsForm: add new member genIndex()

This commit is contained in:
2013-06-23 22:20:42 +02:00
parent c66c778326
commit a8721fa72a
3 changed files with 14 additions and 6 deletions

View File

@@ -267,7 +267,8 @@ class CComponentsItem : public CComponents
///get current index of item, see also attribut cc_item_index
virtual int getIndex(){return cc_item_index;};
///set index to item, see also attribut cc_item_index
///set an index to item, see also attribut cc_item_index.
///To generate an index, use genIndex()
virtual void setIndex(const int& index){cc_item_index = index;};
};