selection.cpp
author insilmaril
Thu, 23 Mar 2006 12:38:54 +0000
changeset 258 42c8cf6dd1c3
parent 0 7a96bd401351
child 16 41c3d7f9f532
child 74 98449ef9eccd
permissions -rw-r--r--
Version 1.7.12
     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 }