mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #879, added utility function toQList in collection
This commit is contained in:
committed by
Mathew Sutcliffe
parent
5bea0e2a96
commit
2f14886db5
@@ -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(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user