Allow init by QList in CSequence

This commit is contained in:
Klaus Basan
2015-02-26 21:56:08 +01:00
parent f525e3bc2e
commit 5bad11dcca

View File

@@ -59,6 +59,11 @@ namespace BlackMisc
*/ */
CSequence(std::initializer_list<T> il) : m_pimpl(new Pimpl<QList<T>>(QList<T>(il))) {} CSequence(std::initializer_list<T> il) : m_pimpl(new Pimpl<QList<T>>(QList<T>(il))) {}
/*!
* \brief By QList of type <T>.
*/
CSequence(const QList<T> &list) : m_pimpl(new Pimpl<QList<T>>(QList<T>(list))) {}
/*! /*!
* \brief Copy constructor. * \brief Copy constructor.
*/ */