QVariant

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

+ new QVariant(): QVariant

Overrides Component.constructor

Returns: QVariant

+ new QVariant(nativeElement: NativeElement): QVariant

Overrides Component.constructor

Parameters:

NameType
nativeElementNativeElement

Returns: QVariant

+ new QVariant(variant: QVariantType): QVariant

Overrides Component.constructor

Parameters:

NameType
variantQVariantType

Returns: QVariant

Properties

native

• native: NativeElement | null

Inherited from Component.native

Methods

toBool

â–¸ toBool(): boolean

Returns: boolean


toDouble

â–¸ toDouble(): number

Returns: number


toInt

â–¸ toInt(): number

Returns: number


toString

â–¸ toString(): string

Returns: string


toStringList

â–¸ toStringList(): string[]

Returns: string[]