git-svn-id: svn://db.shs.com.ru/libs@625 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -223,7 +223,7 @@ public:
|
||||
bool isEntryExists(const QString & name) const {return entryExists(&root, name);}
|
||||
|
||||
Branch allTree() {Branch b; foreach (Entry * i, root._children) b << i; return b;}
|
||||
Branch allLeaves() {Branch b; allLeaves(b, &root); qSort(b.begin(), b.end(), Entry::compare); return b;}
|
||||
Branch allLeaves();
|
||||
int entryIndex(const QString & name);
|
||||
|
||||
QString getName(uint number) {return entryByIndex(number)._name;}
|
||||
|
||||
Reference in New Issue
Block a user