diff -r 7a96bd401351 -r a40af6315ac6 selection.h --- a/selection.h Sun Jan 30 12:58:47 2005 +0000 +++ b/selection.h Thu Sep 14 11:38:17 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