1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/selection.h Wed May 31 12:27:38 2006 +0000
1.3 @@ -0,0 +1,26 @@
1.4 +#ifndef SELECTIONOBJ_H
1.5 +#define SELECTIONOBJ_H
1.6 +
1.7 +#include "linkablemapobj.h"
1.8 +#include <qptrlist.h>
1.9 +
1.10 +class Selection
1.11 +{
1.12 +public:
1.13 + Selection ();
1.14 + Selection (const Selection&);
1.15 + ~Selection();
1.16 + void init();
1.17 + void copy(const Selection&);
1.18 + void clear();
1.19 +
1.20 + bool select (LinkableMapObj*);
1.21 + void unselect (LinkableMapObj*);
1.22 + bool isEmpty();
1.23 + uint count();
1.24 +
1.25 +private:
1.26 + QPtrList <LinkableMapObj> selectList;
1.27 +};
1.28 +#endif
1.29 +