mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 23:05:34 +08:00
refs #466 Resolved TODO item in GUI.
This commit is contained in:
@@ -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(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user