selection.h
author insilmaril
Mon May 08 13:26:08 2006 +0000 (2006-05-08)
changeset 323 31c3d5f142c1
child 2 608f976aa7bb
child 364 7b74fa3772bf
permissions -rw-r--r--
1.7.16 Small bugfixes
insilmaril@0
     1
#ifndef SELECTIONOBJ_H
insilmaril@0
     2
#define SELECTIONOBJ_H
insilmaril@0
     3
insilmaril@0
     4
#include "linkablemapobj.h"
insilmaril@0
     5
#include <qptrlist.h>
insilmaril@0
     6
insilmaril@0
     7
class Selection 
insilmaril@0
     8
{
insilmaril@0
     9
public:
insilmaril@0
    10
	Selection ();
insilmaril@0
    11
	Selection (const Selection&);
insilmaril@0
    12
	~Selection();
insilmaril@0
    13
	void init();
insilmaril@0
    14
	void copy(const Selection&);
insilmaril@0
    15
	void clear();
insilmaril@0
    16
	
insilmaril@0
    17
	bool select (LinkableMapObj*);
insilmaril@0
    18
	void unselect (LinkableMapObj*);
insilmaril@0
    19
	bool isEmpty();
insilmaril@0
    20
	uint count();
insilmaril@0
    21
insilmaril@0
    22
private:
insilmaril@0
    23
	QPtrList <LinkableMapObj> selectList;
insilmaril@0
    24
};
insilmaril@0
    25
#endif
insilmaril@0
    26