+ /// Returns Id (row) of a folder taking into consideration folders which can not be shown non empty
+ /// \param theType Type of the folder
+ /// \param theDoc a document which contains this folder
+ int folderId(std::string theType, ModelAPI_Document* theDoc = 0);
+
+ /// Removes a row from branch of tree
+ /// \param theStart - start row to update indexes
+ /// \param theSize - number of indexes in the folder
+ /// \param theParent - index of parent folder
+ void rebuildBranch(int theRow, int theCount, const QModelIndex& theParent = QModelIndex());
+
+