14 QString CLauncherSetup::convertToQString(
bool i18n)
const
17 return QStringLiteral(
"DBus: %1 frameless: %2 mode: %3")
46 case IndexDBusAddress: this->setDBusAddress(variant.
toString());
break;
47 case IndexFramelessWindow: m_windowFrameless = variant.
toBool();
break;
48 case IndexCoreMode: m_coreMode = variant.
toInt();
break;
49 case IndexAudioMode: m_audioMode = variant.
toInt();
break;
ColumnIndex
Properties by index.
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.
void setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant)
Set property by index.
QVariant propertyByIndex(CPropertyIndexRef index) const
Property by index.
Core data traits (aka cached values) and classes.
Free functions in swift::misc.
SWIFT_MISC_EXPORT const QString & boolToYesNo(bool v)
Bool to yes/no.
QString arg(Args &&... args) const const
QVariant fromValue(T &&value)
bool toBool() const const
int toInt(bool *ok) const const
QString toString() const const
#define SWIFT_DEFINE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template definition of mixins for a CValueObject subclass.