branchobj.cpp
changeset 772 e3f722759c7e
parent 771 01f2f6d6789d
child 773 340bc29da9a0
     1.1 --- a/branchobj.cpp	Mon May 18 11:22:41 2009 +0000
     1.2 +++ b/branchobj.cpp	Wed May 20 15:40:14 2009 +0000
     1.3 @@ -638,58 +638,6 @@
     1.4  	calcBBoxSize();
     1.5  }
     1.6  
     1.7 -void BranchObj::removeBranchHere(BranchObj* borem)	// FIXME-2 getNum no longer available
     1.8 -{
     1.9 -/*
    1.10 -	// This removes the branch bo from list, but 
    1.11 -	// inserts its children at the place of bo
    1.12 -	BranchObj *bo;
    1.13 -	bo=borem->getLastBranch();
    1.14 -	int pos=borem->getNum();
    1.15 -	while (bo)
    1.16 -	{
    1.17 -		bo->linkTo (this,pos+1);
    1.18 -		bo=borem->getLastBranch();
    1.19 -	}	
    1.20 -	removeBranch (borem);
    1.21 -	*/
    1.22 -}
    1.23 -
    1.24 -void BranchObj::removeChildren()	// FIXME-3 not needed here
    1.25 -{
    1.26 -	clear();
    1.27 -}
    1.28 -
    1.29 -void BranchObj::removeBranch(BranchObj* bo)	// FIXME-2 not needed here
    1.30 -{
    1.31 -/*
    1.32 -    // if bo is not in branch remove returns false, we
    1.33 -    // don't care...
    1.34 -	
    1.35 -	int i=branch.indexOf(bo);
    1.36 -    if (i>=0)
    1.37 -	{
    1.38 -		delete (bo);
    1.39 -		branch.removeAt (i);
    1.40 -	} else
    1.41 -		qWarning ("BranchObj::removeBranch tried to remove non existing branch?!\n");
    1.42 -	requestReposition();
    1.43 -	*/
    1.44 -}
    1.45 -
    1.46 -void BranchObj::removeBranchPtr(BranchObj* bo)	// FIXME-3 not needed here
    1.47 -{
    1.48 -/*
    1.49 -	int i=branch.indexOf(bo);
    1.50 -	
    1.51 -	if (i>=0)
    1.52 -		branch.removeAt (i);
    1.53 -	else	
    1.54 -		qWarning ("BranchObj::removeBranchPtr tried to remove non existing branch?!\n");
    1.55 -	requestReposition();
    1.56 -*/	
    1.57 -}
    1.58 -
    1.59  void BranchObj::sortChildren() //FIXME-2  
    1.60  {
    1.61  /*