selection.cpp
changeset 746 ee6b0f3a4c2f
parent 735 84ae10f6e3a3
child 757 c6908bc17d78
     1.1 --- a/selection.cpp	Mon Mar 23 09:06:51 2009 +0000
     1.2 +++ b/selection.cpp	Thu Mar 26 07:49:17 2009 +0000
     1.3 @@ -26,7 +26,7 @@
     1.4  	model=m;
     1.5  }
     1.6  
     1.7 -void Selection::update() // FIXME VM emit signal in VM instead and get rid of this
     1.8 +void Selection::update() // FIXME-2 VM emit signal in VM instead and get rid of this
     1.9  {
    1.10  /*
    1.11  	QRectF bbox;
    1.12 @@ -88,19 +88,6 @@
    1.13  void Selection::unselect()
    1.14  {
    1.15  	model->unselect();
    1.16 -	/*
    1.17 -	cout << "Sel::unselect\n";
    1.18 -	if (!selectList.isEmpty() )
    1.19 -	{
    1.20 -		for (int i=0; i< selectList.count(); ++i) 
    1.21 -			selectList.at(i)->unselect();
    1.22 -		lastSelectList=selectList;
    1.23 -		selectList.clear();
    1.24 -		// FIXME VM move to ME
    1.25 -		//while (!selboxList.isEmpty() )	
    1.26 -		//	delete selboxList.takeFirst();
    1.27 -	}	
    1.28 -		*/	
    1.29  }
    1.30  
    1.31  bool Selection::isBlocked()
    1.32 @@ -164,7 +151,7 @@
    1.33  TreeItem* Selection::getBranchItem()
    1.34  {
    1.35  	BranchObj* bo=getBranch();
    1.36 -	if (bo) return bo->getTreeItem(); // FIXME VM get directly from treemodl
    1.37 +	if (bo) return bo->getTreeItem(); //  VM get directly from treemodl
    1.38  	return NULL;
    1.39  }
    1.40  
    1.41 @@ -186,7 +173,7 @@
    1.42  		return NULL;
    1.43  }
    1.44  
    1.45 -QString Selection::getSelectString() // FIXME VM this is also in VM ?! clean up here...
    1.46 +QString Selection::getSelectString() // FIXME-2 VM this is also in VM ?! clean up here...
    1.47  // TODO no multiselections yet
    1.48  {
    1.49  	if (selectList.count()==1)