diff -r 699f28529079 -r 41c3d7f9f532 selection.h --- a/selection.h Tue Aug 15 12:01:14 2006 +0000 +++ b/selection.h Tue Aug 29 08:31:42 2006 +0000 @@ -1,26 +1,32 @@ -#ifndef SELECTIONOBJ_H -#define SELECTIONOBJ_H +#ifndef SELECTION_H +#define SELECTION_H + +#include #include "linkablemapobj.h" -#include +#include "mapcenterobj.h" class Selection { public: Selection (); - Selection (const Selection&); ~Selection(); - void init(); void copy(const Selection&); void clear(); + void setMapCenter (MapCenterObj *); bool select (LinkableMapObj*); - void unselect (LinkableMapObj*); + bool select (const QString &); + void unselect (); bool isEmpty(); uint count(); + QString getSelectString(); + private: - Q3PtrList selectList; + void init(); + QList selectList; + MapCenterObj *mapCenter; }; #endif