refs #466 Resolved TODO item in GUI.

This commit is contained in:
Mathew Sutcliffe
2015-09-14 22:58:04 +01:00
parent b1a3793c2f
commit f03b24022e
3 changed files with 25 additions and 3 deletions

View File

@@ -231,6 +231,12 @@ namespace BlackMisc
//! \copydoc CValueObject::convertToQString
QString convertToQString(bool i18n = false) const;
//! True if this variant's type is an integral type.
bool isIntegral() const;
//! True if this variant's type is an integral or floating-point type.
bool isArithmetic() const;
//! Convert this variant to a bool.
bool toBool() const { return m_v.toBool(); }