Elements panel: added methods to easily get the underlying filepath for a particular item.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2022 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2013-02-03 19:22:58 +00:00
parent 0796587a63
commit 9c32815887
2 changed files with 49 additions and 0 deletions

View File

@@ -58,6 +58,8 @@ class ElementsPanel : public GenericPanel {
ElementsCollectionItem *selectedItem() const;
ElementsCategory *categoryForItem(QTreeWidgetItem *);
ElementsCategory *categoryForPos(const QPoint &);
QString dirPathForItem(QTreeWidgetItem *);
QString filePathForItem(QTreeWidgetItem *);
void reloadCollections();
int elementsCollectionItemsCount();