selection.h
author insilmaril
Tue, 04 Jul 2006 12:10:56 +0000
branchqt4-port
changeset 7 84f76a3876d7
parent 2 608f976aa7bb
child 16 41c3d7f9f532
permissions -rw-r--r--
fixed recent maps and xlinks
insilmaril@0
     1
#ifndef SELECTIONOBJ_H
insilmaril@0
     2
#define SELECTIONOBJ_H
insilmaril@0
     3
insilmaril@0
     4
#include "linkablemapobj.h"
insilmaril@2
     5
#include <q3ptrlist.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@2
    23
	Q3PtrList <LinkableMapObj> selectList;
insilmaril@0
    24
};
insilmaril@0
    25
#endif
insilmaril@0
    26