diff -r 7a96bd401351 -r 8df2895c131c selection.h --- a/selection.h Sun Jan 30 12:58:47 2005 +0000 +++ b/selection.h Tue Sep 05 11:53:54 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: - QPtrList selectList; + void init(); + QList selectList; + MapCenterObj *mapCenter; }; #endif