selection.cpp
author insilmaril
Mon May 15 07:32:11 2006 +0000 (2006-05-15)
changeset 329 8f04006214dc
child 16 41c3d7f9f532
child 74 98449ef9eccd
permissions -rw-r--r--
1.7.17
     1 #include "selection.h"
     2 
     3 
     4 Selection::Selection()
     5 {
     6 }
     7 
     8 Selection::Selection(const Selection &other)
     9 {
    10 }
    11 
    12 Selection::~Selection()
    13 {
    14 }
    15 
    16 void Selection::init()
    17 {
    18 	selectList.setAutoDelete(true);
    19 }
    20 
    21 void Selection::copy(const Selection &other)
    22 {
    23 }
    24 
    25 void Selection::clear()
    26 {
    27 	selectList.clear();
    28 }
    29 
    30 bool Selection::select(LinkableMapObj *lmo)
    31 {
    32 	return false;
    33 }
    34 
    35 void Selection::unselect(LinkableMapObj *lmo)
    36 {
    37 }
    38 
    39 bool Selection::isEmpty()
    40 {
    41 	return selectList.isEmpty();
    42 }
    43 
    44 uint Selection::count()
    45 {
    46 	return selectList.count();
    47 }