selection.cpp
author insilmaril
Sat, 19 Feb 2005 17:14:33 +0000
changeset 90 10f3d35dcbad
parent 0 7a96bd401351
child 16 41c3d7f9f532
child 74 98449ef9eccd
permissions -rw-r--r--
moved translation files to lang, basic link functionality
insilmaril@0
     1
#include "selection.h"
insilmaril@0
     2
insilmaril@0
     3
insilmaril@0
     4
Selection::Selection()
insilmaril@0
     5
{
insilmaril@0
     6
}
insilmaril@0
     7
insilmaril@0
     8
Selection::Selection(const Selection &other)
insilmaril@0
     9
{
insilmaril@0
    10
}
insilmaril@0
    11
insilmaril@0
    12
Selection::~Selection()
insilmaril@0
    13
{
insilmaril@0
    14
}
insilmaril@0
    15
insilmaril@0
    16
void Selection::init()
insilmaril@0
    17
{
insilmaril@0
    18
	selectList.setAutoDelete(true);
insilmaril@0
    19
}
insilmaril@0
    20
insilmaril@0
    21
void Selection::copy(const Selection &other)
insilmaril@0
    22
{
insilmaril@0
    23
}
insilmaril@0
    24
insilmaril@0
    25
void Selection::clear()
insilmaril@0
    26
{
insilmaril@0
    27
	selectList.clear();
insilmaril@0
    28
}
insilmaril@0
    29
insilmaril@0
    30
bool Selection::select(LinkableMapObj *lmo)
insilmaril@0
    31
{
insilmaril@0
    32
	return false;
insilmaril@0
    33
}
insilmaril@0
    34
insilmaril@0
    35
void Selection::unselect(LinkableMapObj *lmo)
insilmaril@0
    36
{
insilmaril@0
    37
}
insilmaril@0
    38
insilmaril@0
    39
bool Selection::isEmpty()
insilmaril@0
    40
{
insilmaril@0
    41
	return selectList.isEmpty();
insilmaril@0
    42
}
insilmaril@0
    43
insilmaril@0
    44
uint Selection::count()
insilmaril@0
    45
{
insilmaril@0
    46
	return selectList.count();
insilmaril@0
    47
}