8 namespace swift::misc::simulation::settings
12 if (index.
isMyself()) {
return QVariant::fromValue(*
this); }
16 case IndexDBusServerAddress:
return QVariant::fromValue(m_dBusServerAddress);
33 case IndexDBusServerAddress: m_dBusServerAddress = variant.toString();
break;
41 return "DBusServer: " + m_dBusServerAddress;
Non-owning reference to a CPropertyIndex with a subset of its features.
CastType frontCasted() const
First element casted to given type, usually the PropertIndex enum.
bool isMyself() const
Myself index, used with nesting.
ColumnIndex
Base class enums.
void setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant)
Set property by index.
QVariant propertyByIndex(CPropertyIndexRef index) const
Property by index.
QString convertToQString(bool i18n=false) const
Cast as QString.
QVariant propertyByIndex(swift::misc::CPropertyIndexRef index) const
Property by index.
void setPropertyByIndex(swift::misc::CPropertyIndexRef index, const QVariant &variant)
Set property by index.
#define SWIFT_DEFINE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template definition of mixins for a CValueObject subclass.