- QStringList listOfShowNotEmptyFolders(bool fromRoot = true) const;
-
- int getNumberOfFolderItems(const ModelAPI_Folder* theFolder) const;
- ObjectPtr getObjectInFolder(const ModelAPI_Folder* theFolder, int theId) const;
-
- VisibilityState getVisibilityState(const QModelIndex& theIndex) const;
-
- void addShownFolder(DocumentPtr theDoc, QString theFolder)
- {
- if (!myShownFolders.contains(theDoc)) {
- myShownFolders[theDoc] = QStringList();
- }
- myShownFolders[theDoc].append(theFolder);
- }
-
- void removeShownFolder(DocumentPtr theDoc, QString theFolder)
- {
- if (myShownFolders.contains(theDoc)) {
- myShownFolders[theDoc].removeAll(theFolder);
- if (myShownFolders[theDoc].isEmpty())
- myShownFolders.remove(theDoc);
- }
- }
-
- bool hasShownFolder(DocumentPtr theDoc, QString theFolder) const
- {
- if (myShownFolders.contains(theDoc))
- return myShownFolders[theDoc].contains(theFolder);
- return false;
- }
-
- Config_DataModelReader* myXMLReader;
+ //QStringList listOfShowNotEmptyFolders(bool fromRoot = true) const;
+
+ //int getNumberOfFolderItems(const ModelAPI_Folder* theFolder) const;
+ //ObjectPtr getObjectInFolder(const ModelAPI_Folder* theFolder, int theId) const;
+
+ //VisibilityState getVisibilityState(const QModelIndex& theIndex) const;
+
+ //void addShownFolder(DocumentPtr theDoc, QString theFolder)
+ //{
+ // if (!myShownFolders.contains(theDoc)) {
+ // myShownFolders[theDoc] = QStringList();
+ // }
+ // myShownFolders[theDoc].append(theFolder);
+ //}
+
+ //void removeShownFolder(DocumentPtr theDoc, QString theFolder)
+ //{
+ // if (myShownFolders.contains(theDoc)) {
+ // myShownFolders[theDoc].removeAll(theFolder);
+ // if (myShownFolders[theDoc].isEmpty())
+ // myShownFolders.remove(theDoc);
+ // }
+ //}
+
+ //bool hasShownFolder(DocumentPtr theDoc, QString theFolder) const
+ //{
+ // if (myShownFolders.contains(theDoc))
+ // return myShownFolders[theDoc].contains(theFolder);
+ // return false;
+ //}
+
+ //Config_DataModelReader* myXMLReader;