diff -r d85834ad8c54 -r 133e2ed6b9c5 vymmodel.h --- a/vymmodel.h Mon Aug 24 14:39:07 2009 +0000 +++ b/vymmodel.h Thu Sep 03 08:52:00 2009 +0000 @@ -18,6 +18,7 @@ class AttributeItem; class BranchItem; class MapEditor; +class XLinkItem; class VymModel : public TreeModel { Q_OBJECT @@ -291,6 +292,7 @@ BranchItem* createMapCenter(); //!< Create MapCenter BranchItem* createBranch(BranchItem *dst); //!< Create Branch ImageItem* createImage(BranchItem *dst); //!< Create image + XLinkItem* createXLink(BranchItem *dst,bool createMO=false); //!< Create XLink starting at dst AttributeItem* addAttribute(); @@ -338,7 +340,6 @@ void deleteKeepChildren(); //!< remove branch, but keep children void deleteChildren(); //!< keep branch, but remove children -private: TreeItem* deleteItem(TreeItem*); //!< Delete item and return parent (if parent!= rootItem) bool scrollBranch(BranchItem *); bool unscrollBranch(BranchItem *);