selection.h
author insilmaril
Fri, 08 Jul 2005 07:24:43 +0000
changeset 119 0f183befd9af
parent 0 7a96bd401351
child 2 608f976aa7bb
child 364 7b74fa3772bf
permissions -rw-r--r--
changes for 1.6.9
     1 #ifndef SELECTIONOBJ_H
     2 #define SELECTIONOBJ_H
     3 
     4 #include "linkablemapobj.h"
     5 #include <qptrlist.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 	QPtrList <LinkableMapObj> selectList;
    24 };
    25 #endif
    26