1.1 --- a/vymmodel.h Mon Aug 24 14:39:07 2009 +0000
1.2 +++ b/vymmodel.h Thu Sep 03 08:52:00 2009 +0000
1.3 @@ -18,6 +18,7 @@
1.4 class AttributeItem;
1.5 class BranchItem;
1.6 class MapEditor;
1.7 +class XLinkItem;
1.8
1.9 class VymModel : public TreeModel {
1.10 Q_OBJECT
1.11 @@ -291,6 +292,7 @@
1.12 BranchItem* createMapCenter(); //!< Create MapCenter
1.13 BranchItem* createBranch(BranchItem *dst); //!< Create Branch
1.14 ImageItem* createImage(BranchItem *dst); //!< Create image
1.15 + XLinkItem* createXLink(BranchItem *dst,bool createMO=false); //!< Create XLink starting at dst
1.16
1.17 AttributeItem* addAttribute();
1.18
1.19 @@ -338,7 +340,6 @@
1.20 void deleteKeepChildren(); //!< remove branch, but keep children
1.21 void deleteChildren(); //!< keep branch, but remove children
1.22
1.23 -private:
1.24 TreeItem* deleteItem(TreeItem*); //!< Delete item and return parent (if parent!= rootItem)
1.25 bool scrollBranch(BranchItem *);
1.26 bool unscrollBranch(BranchItem *);