selection.h
author insilmaril
Wed, 14 Jun 2006 14:43:18 +0000
branchqt4-port
changeset 6 db50e4164311
parent 2 608f976aa7bb
child 16 41c3d7f9f532
permissions -rw-r--r--
Basic editing works again
     1 #ifndef SELECTIONOBJ_H
     2 #define SELECTIONOBJ_H
     3 
     4 #include "linkablemapobj.h"
     5 #include <q3ptrlist.h>
     6 
     7 class Selection 
     8 {
     9 public:
    10 	Selection ();
    11 	Selection (const Selection&);
    12 	~Selection();
    13 	void init();
    14 	void copy(const Selection&);
    15 	void clear();
    16 	
    17 	bool select (LinkableMapObj*);
    18 	void unselect (LinkableMapObj*);
    19 	bool isEmpty();
    20 	uint count();
    21 
    22 private:
    23 	Q3PtrList <LinkableMapObj> selectList;
    24 };
    25 #endif
    26