selection.h
author insilmaril
Thu Dec 14 17:01:44 2006 +0000 (2006-12-14)
changeset 411 910ba9fab728
parent 364 7b74fa3772bf
child 421 5522d1da7e37
permissions -rw-r--r--
1.8.61 various fixes, see changelog
     1 #ifndef SELECTION_H
     2 #define SELECTION_H
     3 
     4 #include "linkablemapobj.h"
     5 #include "mapcenterobj.h"
     6 
     7 class Selection 
     8 {
     9 public:
    10 	Selection ();
    11 	~Selection();
    12 	void copy(const Selection&);
    13 	void clear();
    14 	void setMapCenter (MapCenterObj *);
    15 	
    16 	bool select (LinkableMapObj*);
    17 	bool select (const QString &);
    18 	void unselect ();
    19 	bool isEmpty();
    20 	uint count();
    21 
    22 	QString getSelectString();
    23 
    24 private:
    25 	void init();
    26 	QList <LinkableMapObj*> selectList;
    27 	MapCenterObj *mapCenter;
    28 };
    29 #endif
    30