CComponentsForm: add new member genIndex()

Origin commit data
------------------
Commit: a8721fa72a
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-23 (Sun, 23 Jun 2013)
This commit is contained in:
2013-06-23 22:20:42 +02:00
parent 05a6f46dbe
commit 1b9f02b750
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;};
};