author | insilmaril |
Fri Jul 08 07:24:42 2005 +0000 (2005-07-08) | |
changeset 115 | 768eba98451b |
child 2 | 608f976aa7bb |
child 364 | 7b74fa3772bf |
permissions | -rw-r--r-- |
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 |