selection.h
branchvendor
changeset 24 5b1e87e0ab6f
child 2 608f976aa7bb
child 364 7b74fa3772bf
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/selection.h	Sun Jan 30 12:58:52 2005 +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 +