refs #413 Extend Private::CValueObjectMetaInfo with more fallback helpers, and extend CVariant with toIcon method.

This commit is contained in:
Mathew Sutcliffe
2015-05-04 22:33:20 +01:00
parent 097522cfa5
commit 9867b4a6df
4 changed files with 60 additions and 7 deletions

View File

@@ -79,6 +79,12 @@ namespace BlackMisc
int m_rotateDegrees = 0;
QString m_descriptiveText;
};
namespace Private
{
//! \private Needed so we can copy forward-declared CIcon.
inline void assign(CIcon &a, const CIcon &b) { a = b; }
}
} // namespace
BLACK_DECLARE_TUPLE_CONVERSION(BlackMisc::CIcon, (o.m_index, o.m_descriptiveText))