selection.cpp
branchrelease-1-12-maintained
changeset 43 cf274b28e5fe
child 16 41c3d7f9f532
child 74 98449ef9eccd
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/selection.cpp	Wed Jul 30 14:42:03 2008 +0000
     1.3 @@ -0,0 +1,47 @@
     1.4 +#include "selection.h"
     1.5 +
     1.6 +
     1.7 +Selection::Selection()
     1.8 +{
     1.9 +}
    1.10 +
    1.11 +Selection::Selection(const Selection &other)
    1.12 +{
    1.13 +}
    1.14 +
    1.15 +Selection::~Selection()
    1.16 +{
    1.17 +}
    1.18 +
    1.19 +void Selection::init()
    1.20 +{
    1.21 +	selectList.setAutoDelete(true);
    1.22 +}
    1.23 +
    1.24 +void Selection::copy(const Selection &other)
    1.25 +{
    1.26 +}
    1.27 +
    1.28 +void Selection::clear()
    1.29 +{
    1.30 +	selectList.clear();
    1.31 +}
    1.32 +
    1.33 +bool Selection::select(LinkableMapObj *lmo)
    1.34 +{
    1.35 +	return false;
    1.36 +}
    1.37 +
    1.38 +void Selection::unselect(LinkableMapObj *lmo)
    1.39 +{
    1.40 +}
    1.41 +
    1.42 +bool Selection::isEmpty()
    1.43 +{
    1.44 +	return selectList.isEmpty();
    1.45 +}
    1.46 +
    1.47 +uint Selection::count()
    1.48 +{
    1.49 +	return selectList.count();
    1.50 +}