author | insilmaril |
Fri, 29 Dec 2006 13:52:17 +0000 | |
changeset 414 | bc23a0157a39 |
parent 406 | 1c8ff1928b97 |
child 421 | 5522d1da7e37 |
permissions | -rw-r--r-- |
1 #ifndef SELECTION_H
2 #define SELECTION_H
4 #include "linkablemapobj.h"
5 #include "mapcenterobj.h"
7 class Selection
8 {
9 public:
10 Selection ();
11 ~Selection();
12 void copy(const Selection&);
13 void clear();
14 void setMapCenter (MapCenterObj *);
16 bool select (LinkableMapObj*);
17 bool select (const QString &);
18 void unselect ();
19 bool isEmpty();
20 uint count();
22 QString getSelectString();
24 private:
25 void init();
26 QList <LinkableMapObj*> selectList;
27 MapCenterObj *mapCenter;
28 };
29 #endif