branchitem.cpp
changeset 780 fe839bdfd10c
parent 779 1fb50e79661c
child 781 6cbf3c9cbd21
     1.1 --- a/branchitem.cpp	Tue Jul 07 09:34:24 2009 +0000
     1.2 +++ b/branchitem.cpp	Tue Jul 07 11:21:27 2009 +0000
     1.3 @@ -158,43 +158,6 @@
     1.4  {
     1.5  }
     1.6  
     1.7 -void BranchItem::setVymLink(QString s)
     1.8 -{
     1.9 -	if (!s.isEmpty())
    1.10 -	{
    1.11 -		// We need the relative (from loading) 
    1.12 -		// or absolute path (from User event)
    1.13 -		// and build the absolute path.
    1.14 -		// Note: If we have relative, use path of
    1.15 -		// current map to build absolute path
    1.16 -		QDir d(s);
    1.17 -		if (!d.path().startsWith ("/"))
    1.18 -		{
    1.19 -			QString p=model->getDestPath();
    1.20 -			int i=p.findRev("/",-1);
    1.21 -			d.setPath(p.left(i)+"/"+s);
    1.22 -			d.convertToAbs();
    1.23 -		}
    1.24 -		vymLink=d.path();
    1.25 -		//FIXME-2 systemFlags->activate("vymLink");
    1.26 -	}	
    1.27 -	else	
    1.28 -	{
    1.29 -		//FIXME-2 systemFlags->deactivate("vymLink");
    1.30 -		vymLink="";
    1.31 -	}	
    1.32 -	/* FIXME-2
    1.33 -	calcBBoxSize();			// recalculate bbox
    1.34 -    positionBBox();			// rearrange contents
    1.35 -	forceReposition();
    1.36 -	*/
    1.37 -}
    1.38 -
    1.39 -QString BranchItem::getVymLink()
    1.40 -{
    1.41 -	return vymLink;
    1.42 -}
    1.43 -
    1.44  void BranchItem::setHeadingColor (QColor color)
    1.45  {
    1.46  	TreeItem::setHeadingColor (color);