Using QMetaType::Type instead of QVariant::Type

Auto as per review of refs #319
This commit is contained in:
Klaus Basan
2014-08-31 15:44:57 +02:00
parent 9567d1aedf
commit 983a8d5d30
5 changed files with 15 additions and 13 deletions

View File

@@ -134,6 +134,7 @@ namespace BlackMisc
bool isValid() const { return m_v.isValid(); }
//! Return the metatype ID of the value in this variant, or QMetaType::User if it is a user type.
// KB we should think about returning QMetaType::Type directly, as QVariant::Type is deprecated
QVariant::Type type() const { return m_v.type(); }
//! Return the typename of the value in this variant.