refs #879, added utility function toQList in collection

This commit is contained in:
Klaus Basan
2017-02-12 22:34:30 +01:00
committed by Mathew Sutcliffe
parent 5bea0e2a96
commit 2f14886db5

View File

@@ -290,6 +290,12 @@ namespace BlackMisc
return CCollection::CContainerBase::removeIf(k0, v0, keysValues...);
}
//! Convert to a QList
QList<T> toQList() const
{
return this->to(QList<T>());
}
//! Test for equality.
bool operator ==(const CCollection &other) const { return *pimpl() == *other.pimpl(); }