More moving from BranchObj to BranchItem
authorinsilmaril
Thu, 02 Apr 2009 09:54:42 +0000
changeset 7517fa9b3164cbe
parent 750 ff3b01ce0960
child 752 914f330b6aa8
More moving from BranchObj to BranchItem
branchobj.cpp
     1.1 --- a/branchobj.cpp	Thu Apr 02 09:46:29 2009 +0000
     1.2 +++ b/branchobj.cpp	Thu Apr 02 09:54:42 2009 +0000
     1.3 @@ -898,32 +898,6 @@
     1.4  	requestReposition();
     1.5  }
     1.6  
     1.7 -/* FIXME-1 not needed
     1.8 -BranchObj* BranchObj::getFirstBranch ()
     1.9 -{
    1.10 -	if (treeItem->branchCount()>0)
    1.11 -		return branch.first();
    1.12 -	else
    1.13 -		return NULL;
    1.14 -}
    1.15 -
    1.16 -BranchObj* BranchObj::getLastBranch ()
    1.17 -{
    1.18 -	if (treeItem->branchCount()>0)
    1.19 -		return branch.last();
    1.20 -	else
    1.21 -		return NULL;
    1.22 -}
    1.23 -
    1.24 -BranchObj* BranchObj::getBranchNum (int i)
    1.25 -{
    1.26 -	if (i>=0 && i<treeItem->branchCount())
    1.27 -		return branch.at(i);
    1.28 -	else	
    1.29 -		return	NULL;
    1.30 -}
    1.31 -*/
    1.32 -
    1.33  bool BranchObj::canMoveBranchUp() 
    1.34  {
    1.35  	/* FIXME-1 move to BranchItem