mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-04 11:30:52 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user