mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Fixed non-required override of propertyByIndexAsString
This commit is contained in:
@@ -127,15 +127,6 @@ namespace BlackMisc
|
|||||||
return QVariant::fromValue(m);
|
return QVariant::fromValue(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Property as string by index
|
|
||||||
*/
|
|
||||||
QString CServer::propertyByIndexAsString(int index, bool i18n) const
|
|
||||||
{
|
|
||||||
QVariant qv = this->propertyByIndex(index);
|
|
||||||
return BlackMisc::qVariantToString(qv, i18n);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Property by index (setter)
|
* Property by index (setter)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -110,9 +110,6 @@ namespace BlackMisc
|
|||||||
//! \copydoc CValueObject::setPropertyByIndex(const QVariant &, int index)
|
//! \copydoc CValueObject::setPropertyByIndex(const QVariant &, int index)
|
||||||
void setPropertyByIndex(const QVariant &variant, int index) override;
|
void setPropertyByIndex(const QVariant &variant, int index) override;
|
||||||
|
|
||||||
//! \copydoc CValueObject::propertyByIndexAsString()
|
|
||||||
QString propertyByIndexAsString(int index, bool i18n) const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
//! \copydoc CValueObject::convertToQString()
|
//! \copydoc CValueObject::convertToQString()
|
||||||
virtual QString convertToQString(bool i18n = false) const override;
|
virtual QString convertToQString(bool i18n = false) const override;
|
||||||
|
|||||||
Reference in New Issue
Block a user