# HG changeset patch # User insilmaril # Date 1238666082 0 # Node ID 7fa9b3164cbe5ececda305ff16237a0b335e0a73 # Parent ff3b01ce09601786b46b2d163dbda265cf9b7e04 More moving from BranchObj to BranchItem diff -r ff3b01ce0960 -r 7fa9b3164cbe branchobj.cpp --- a/branchobj.cpp Thu Apr 02 09:46:29 2009 +0000 +++ b/branchobj.cpp Thu Apr 02 09:54:42 2009 +0000 @@ -898,32 +898,6 @@ requestReposition(); } -/* FIXME-1 not needed -BranchObj* BranchObj::getFirstBranch () -{ - if (treeItem->branchCount()>0) - return branch.first(); - else - return NULL; -} - -BranchObj* BranchObj::getLastBranch () -{ - if (treeItem->branchCount()>0) - return branch.last(); - else - return NULL; -} - -BranchObj* BranchObj::getBranchNum (int i) -{ - if (i>=0 && ibranchCount()) - return branch.at(i); - else - return NULL; -} -*/ - bool BranchObj::canMoveBranchUp() { /* FIXME-1 move to BranchItem