selection.cpp
author insilmaril
Fri, 16 Jun 2006 08:27:11 +0000
changeset 352 72e78075ad73
parent 0 7a96bd401351
child 16 41c3d7f9f532
child 74 98449ef9eccd
permissions -rw-r--r--
1.8.0
     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 }