branchobj.cpp
changeset 779 1fb50e79661c
parent 776 25e634a7e1dc
child 785 5987f9f15bac
     1.1 --- a/branchobj.cpp	Mon Jun 29 10:28:28 2009 +0000
     1.2 +++ b/branchobj.cpp	Tue Jul 07 09:34:24 2009 +0000
     1.3 @@ -146,7 +146,7 @@
     1.4  
     1.5  	// FIXME-2 depth=parObj->getDepth()+1;
     1.6  
     1.7 -	// setLinkStyle calls updateLink, only set it once
     1.8 +	// setLinkStyle calls updateLinkGeometry, only set it once
     1.9  	if (style!=getDefLinkStyle() ) setLinkStyle (getDefLinkStyle());
    1.10  
    1.11  	// Move temporary to new position at destination
    1.12 @@ -190,7 +190,7 @@
    1.13  			move (o->getChildPos().x() + linkwidth, y );
    1.14  	}	
    1.15  
    1.16 -	// updateLink is called implicitly in move
    1.17 +	// updateLinkGeometry is called implicitly in move
    1.18  	requestReposition();	
    1.19  }
    1.20  
    1.21 @@ -203,7 +203,7 @@
    1.22  		parObjTmpBuf=NULL;
    1.23  		//FIXME-2 depth=parObj->getDepth()+1;
    1.24  		setLinkStyle (getDefLinkStyle() );
    1.25 -		updateLink();
    1.26 +		updateLinkGeometry();
    1.27  	}		
    1.28  }
    1.29  
    1.30 @@ -397,7 +397,7 @@
    1.31  		childPos.setY( clickBox.topLeft().y() + clickBox.height()/2 );
    1.32  		parPos=childPos;		
    1.33  		for (int i=0; i<treeItem->branchCount(); ++i)
    1.34 -			treeItem->getBranchObjNum(i)->updateLink();
    1.35 +			treeItem->getBranchObjNum(i)->updateLinkGeometry();
    1.36  
    1.37  	} else
    1.38  	{
    1.39 @@ -702,7 +702,7 @@
    1.40  */
    1.41  
    1.42  	setOrientation();
    1.43 -	//updateLink();
    1.44 +	//updateLinkGeometry();
    1.45  
    1.46  	if (depth==1 && parObj)
    1.47  	{
    1.48 @@ -788,7 +788,7 @@
    1.49  		// changes its height,
    1.50  		// all upper LMOs have to change, too.
    1.51  		calcBBoxSizeWithChildren();
    1.52 -		updateLink();	// This update is needed if the scene is resized 
    1.53 +		updateLinkGeometry();	// This update is needed if the scene is resized 
    1.54  						// due to excessive moving of a FIO
    1.55  
    1.56  	    alignRelativeTo ( QPointF (absPos.x(),