refs #247 Using CVariant in blacksim.

This commit is contained in:
Mathew Sutcliffe
2014-12-06 16:33:12 +00:00
parent f80d7e27d1
commit 3a9ff3112f
3 changed files with 10 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ namespace BlackSim
bool isUnspecified() const { return this->m_shortName.isEmpty() || this->m_shortName.startsWith("Unspecified", Qt::CaseInsensitive); }
//! Single setting value
QVariant getSimulatorSetupValue(int index) const;
BlackMisc::CVariant getSimulatorSetupValue(int index) const;
//! Single setting value
QString getSimulatorSetupValueAsString(int index) const;
@@ -86,7 +86,11 @@ namespace BlackSim
};
}
BLACK_DECLARE_TUPLE_CONVERSION(BlackSim::CSimulatorInfo, (o.m_fullName, o.m_shortName, o.m_simsetup))
BLACK_DECLARE_TUPLE_CONVERSION(BlackSim::CSimulatorInfo, (
o.m_fullName,
o.m_shortName,
attr(o.m_simsetup, flags<DisabledForComparison>())
))
Q_DECLARE_METATYPE(BlackSim::CSimulatorInfo)
#endif // guard