Added count() method to ElementsCollectionItem class and its subclasses.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1216 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2011-03-15 18:32:52 +00:00
parent 254239571c
commit 2b537f1f28
7 changed files with 47 additions and 0 deletions

View File

@@ -202,5 +202,13 @@ class ElementsCollectionItem : public QObject {
@return un nouvel element cree a partir d'un chemin virtuel
*/
virtual ElementDefinition *createElement(const QString &) = 0;
/**
@return true if the item is empty, false otherwise
*/
virtual bool isEmpty() = 0;
/**
@return the count of categories and elements within this item
*/
virtual int count() = 0;
};
#endif