55    return (contains(name));
 
 
   69    return (fieldName(index));
 
 
   82    return(indexOf(name));
 
 
  106    QVariant ftype(field(name).type());
 
 
  131    QVariant ftype(field(index).type());
 
 
  143    return (field(name).
isNull());
 
 
  157    return (QString(field(index).value().
toString()));
 
 
  171    return (QString(field(name).value().
toString()));
 
 
  193      retType = QString((tolower(ctype[0]) == 
'q') ? &ctype[1] : ctype).toLower();
 
 
Construct and execute a query on a database and manage result.
 
SqlRecord()
Default Constructor.
 
bool isNull(const QString &name) const
Determines if the value of the field/column is NULL.
 
bool hasField(const QString &name) const
Indicates the existance/non-existance of a field in the row.
 
QString getType(int index) const
Returns the type of a field/column at the specified index.
 
QString getFieldName(int index) const
Returns the name of a field/column at a particular index.
 
QString getValue(int index) const
Returns the value of the field/column at specified index.
 
QString QtTypeField(const char *ctype) const
Returns a generic field type given a Qt QVariant type.
 
int getFieldIndex(const QString &name) const
Return the index of a named field/column This method will determine the index of the named field afte...
 
This is free and unencumbered software released into the public domain.
 
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
 
Namespace for the standard library.