Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

const char * QVariant::typeName (  )  const

Returns the name of the type stored in the variant. The returned strings describe the C++ datatype used to store the data: for example, "QFont", "QString", or "QVariantList". An Invalid variant returns 0.

Definition at line 1724 of file qvariant.cpp.

References typeToName().

Referenced by QMetaProperty::write().

{
    return typeToName(Type(d.type));
}


Generated by  Doxygen 1.6.0   Back to index