diff -r d0086df58648 -r cf14046909cd branchobj.h --- a/branchobj.h Mon May 05 13:46:42 2008 +0000 +++ b/branchobj.h Mon Aug 04 13:35:54 2008 +0000 @@ -11,7 +11,7 @@ /*! \brief A branch visible in the map */ -/*! If HideExport is used, this branch and its childs will be hidden in export */ +/*! If HideExport is used, this branch and its children will be hidden in export */ enum HideTmpMode {HideNone, HideExport}; @@ -102,7 +102,7 @@ virtual BranchObj* insertBranch(BranchObj*,int); virtual BranchObj* insertBranchPtr (BranchObj*,int); virtual void removeBranchHere(BranchObj*); - virtual void removeChilds(); + virtual void removeChildren(); virtual void removeBranch(BranchObj*); virtual void removeBranchPtr (BranchObj*); virtual void setLastSelectedBranch(BranchObj*); @@ -116,14 +116,14 @@ virtual BranchObj* moveBranchDown(BranchObj*); virtual void sortChildren(); virtual BranchObj* linkTo (BranchObj*, int); - virtual void alignRelativeTo(const QPointF ); + virtual void alignRelativeTo(const QPointF, bool alignSelf=false ); virtual void reposition(); virtual void unsetAllRepositionRequests(); virtual QPolygonF shape(); //!< Returns arbitrary bounding polygon - virtual QRectF getTotalBBox(); // return BBox including childs - virtual QRectF getBBoxSizeWithChilds(); // return size of BBox including childs - virtual void calcBBoxSizeWithChilds(); // calc size of BBox including childs recursivly + virtual QRectF getTotalBBox(); // return BBox including children + virtual QRectF getBBoxSizeWithChildren(); // return size of BBox including children + virtual void calcBBoxSizeWithChildren(); // calc size of BBox including children recursivly virtual void select(); virtual void unselect(); @@ -144,7 +144,7 @@ float angle; // used in mainbranch to reorder mainbranches protected: int lastSelectedBranch; // for going deeper into tree - bool scrolled; // true if all childs are scrolled and thus invisible + bool scrolled; // true if all children are scrolled and thus invisible bool tmpUnscrolled; // can only be true (temporary) for a scrolled subtree bool includeImagesVer; // include floatimages in bbox vertically bool includeImagesHor; // include floatimages in bbox horizontally