31 QModelIndexList indexes = sel.indexes();
32 for (QModelIndexList::const_iterator index = indexes.constBegin(); index != indexes.constEnd(); ++index)
35 m_Selection->push_back(indexObj);
41 return m_QItemSelection;
46 return m_Selection->empty();
53 return *(m_Selection->begin());
58 return m_Selection->begin();
63 return m_Selection->end();
68 return (
int) m_Selection->size();
80 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
Object::Pointer GetFirstElement() const override
QItemSelection GetQItemSelection() const
int Size() const override