27 QModelIndexList indexes = sel.indexes();
28 for (QModelIndexList::const_iterator index = indexes.constBegin(); index != indexes.constEnd(); ++index)
31 m_Selection->push_back(indexObj);
37 return m_QItemSelection;
42 return m_Selection->empty();
49 return *(m_Selection->begin());
54 return m_Selection->begin();
59 return m_Selection->end();
64 return (
int) m_Selection->size();
76 return m_Selection == other->ToVector();
ContainerType::Pointer ToVector() const override
Light weight base class for most BlueBerry classes.
ContainerType::const_iterator iterator
iterator End() const override
bool IsEmpty() const override
bool operator==(const Object *obj) const override
iterator Begin() const override
QItemSelection GetQItemSelection() const
Object::Pointer GetFirstElement() const override
int Size() const override