minor bugfixes
authorinsilmaril
Thu, 17 May 2007 20:19:04 +0000
changeset 492cf60b90369a4
parent 491 c58b3973337c
child 493 a3caa8bed260
minor bugfixes
selection.cpp
selection.h
     1.1 --- a/selection.cpp	Thu May 17 20:19:03 2007 +0000
     1.2 +++ b/selection.cpp	Thu May 17 20:19:04 2007 +0000
     1.3 @@ -129,7 +129,7 @@
     1.4  	return selectList.count();
     1.5  }
     1.6  
     1.7 -SelectionType Selection::type() // TODO no multiselections yet
     1.8 +Selection::Type Selection::type() // TODO no multiselections yet
     1.9  {
    1.10  	if (!selectList.isEmpty())
    1.11  	{
     2.1 --- a/selection.h	Thu May 17 20:19:03 2007 +0000
     2.2 +++ b/selection.h	Thu May 17 20:19:04 2007 +0000
     2.3 @@ -14,11 +14,11 @@
     2.4  
     2.5  
     2.6  
     2.7 -enum SelectionType {Undefined,Branch,MapCenter,FloatImage};
     2.8  
     2.9  class Selection 
    2.10  {
    2.11  public:
    2.12 +	enum Type {Undefined,Branch,MapCenter,FloatImage};
    2.13  	Selection ();
    2.14  	~Selection();
    2.15  	void copy(const Selection&);
    2.16 @@ -33,7 +33,7 @@
    2.17  	void unselect ();
    2.18  	bool isEmpty();
    2.19  	uint count();
    2.20 -	SelectionType type();
    2.21 +	Type type();
    2.22  	LinkableMapObj * first();		// first in selection list
    2.23  	LinkableMapObj * single();		// NULL, if multiple selected
    2.24  	BranchObj* getBranch();