39 if ( vl->
fields().
at( fieldIdx ).
type() == QVariant::String )
QgsField at(int i) const
Gets field at particular index (must be in range 0..N-1)
Represents a vector layer which manages a vector based data sets.
QgsFields fields() const FINAL
Returns the list of fields of this layer.