mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
@@ -48,10 +48,9 @@ namespace BlackMisc
|
||||
|
||||
protected:
|
||||
/*!
|
||||
* \brief Are the set values valid / in range?
|
||||
* \return
|
||||
* \copydoc CAvionicsBase::validValues
|
||||
*/
|
||||
bool validValues() const
|
||||
virtual bool validValues() const override
|
||||
{
|
||||
if (this->isDefaultValue()) return true; // special case
|
||||
return
|
||||
@@ -102,10 +101,9 @@ namespace BlackMisc
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Virtual method to return QVariant, used with DBUS QVariant lists
|
||||
* \return
|
||||
* \copydoc CValueObject::toQVariant
|
||||
*/
|
||||
virtual QVariant toQVariant() const
|
||||
virtual QVariant toQVariant() const override
|
||||
{
|
||||
return QVariant::fromValue(*this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user