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();