diff -r 3dc98c8843bc -r 7b74fa3772bf selection.h --- a/selection.h Tue Aug 01 09:30:57 2006 +0000 +++ b/selection.h Tue Sep 05 09:47:13 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