selection.cpp
author insilmaril
Tue, 24 Jan 2006 15:09:48 +0000
changeset 187 2658871fdda4
parent 0 7a96bd401351
child 16 41c3d7f9f532
child 74 98449ef9eccd
permissions -rw-r--r--
Introduced basic export to Open Document format
     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 }