author | insilmaril |
Tue Aug 29 08:31:42 2006 +0000 (2006-08-29) | |
branch | qt4-port |
changeset 16 | 41c3d7f9f532 |
parent 2 | 608f976aa7bb |
permissions | -rw-r--r-- |
1 #ifndef SELECTION_H
2 #define SELECTION_H
4 #include <q3ptrlist.h>
6 #include "linkablemapobj.h"
7 #include "mapcenterobj.h"
9 class Selection
10 {
11 public:
12 Selection ();
13 ~Selection();
14 void copy(const Selection&);
15 void clear();
16 void setMapCenter (MapCenterObj *);
18 bool select (LinkableMapObj*);
19 bool select (const QString &);
20 void unselect ();
21 bool isEmpty();
22 uint count();
24 QString getSelectString();
26 private:
27 void init();
28 QList <LinkableMapObj*> selectList;
29 MapCenterObj *mapCenter;
30 };
31 #endif