/// <summary> /// Initializes a new instance of the <see cref="Client.Qt.QVariant"/> class. /// </summary> /// <param name='VariantData'> /// Variant data. /// </param> /// <param name='VariantType'> /// Variant type. /// </param> public QVariant(string VariantData, QVariantType VariantType) { type = VariantType; data = VariantData; }
/// <summary> /// Initializes a new instance of the <see cref="Client.Qt.QVariant"/> class. /// </summary> /// <param name='VariantData'> /// Variant data. /// </param> /// <param name='userType'> /// User type. /// </param> public QVariant(string VariantData, string userType) { data = VariantData; userTypeName = userType; type = QVariantType.UserType; }