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

bool QSqlRecord::contains ( const QString name  )  const

Returns true if there is a field in the record called name; otherwise returns false.

Definition at line 380 of file qsqlrecord.cpp.

References indexOf().

Referenced by Q3SqlCursor::primaryIndex().

{
    return indexOf(name) >= 0;
}


Generated by  Doxygen 1.6.0   Back to index