QSqlRecord Class Reference

QSqlRecord Class Reference

#include <qsqlrecord.h>

Class Description

Definition at line 58 of file qsqlrecord.h.

+ Inheritance diagram for QSqlRecord:

Public Member Functions

 QSqlRecord ()
 
 QSqlRecord (const QSqlRecord &other)
 
QSqlRecordoperator= (const QSqlRecord &other)
 
 ~QSqlRecord ()
 
bool operator== (const QSqlRecord &other) const
 
bool operator!= (const QSqlRecord &other) const
 
QVariant value (int i) const
 
QVariant value (const QString &name) const
 
void setValue (int i, const QVariant &val)
 
void setValue (const QString &name, const QVariant &val)
 
void setNull (int i)
 
void setNull (const QString &name)
 
bool isNull (int i) const
 
bool isNull (const QString &name) const
 
int indexOf (const QString &name) const
 
QString fieldName (int i) const
 
QSqlField field (int i) const
 
QSqlField field (const QString &name) const
 
bool isGenerated (int i) const
 
bool isGenerated (const QString &name) const
 
void setGenerated (const QString &name, bool generated)
 
void setGenerated (int i, bool generated)
 
void append (const QSqlField &field)
 
void replace (int pos, const QSqlField &field)
 
void insert (int pos, const QSqlField &field)
 
void remove (int pos)
 
bool isEmpty () const
 
bool contains (const QString &name) const
 
void clear ()
 
void clearValues ()
 
int count () const
 

Constructor & Destructor Documentation

QSqlRecord ( const QSqlRecord other)
~QSqlRecord ( )

Member Function Documentation

QSqlRecord& operator= ( const QSqlRecord other)
bool operator== ( const QSqlRecord other) const
bool operator!= ( const QSqlRecord other) const
inline

Definition at line 67 of file qsqlrecord.h.

67 { return !operator==(other); }
bool operator==(const QSqlRecord &other) const
QVariant value ( int  i) const
QVariant value ( const QString name) const
void setValue ( int  i,
const QVariant val 
)
void setValue ( const QString name,
const QVariant val 
)
void setNull ( int  i)
void setNull ( const QString name)
bool isNull ( int  i) const
bool isNull ( const QString name) const
int indexOf ( const QString name) const
QString fieldName ( int  i) const
QSqlField field ( int  i) const
QSqlField field ( const QString name) const
bool isGenerated ( int  i) const
bool isGenerated ( const QString name) const
void setGenerated ( const QString name,
bool  generated 
)
void setGenerated ( int  i,
bool  generated 
)
void append ( const QSqlField field)
void replace ( int  pos,
const QSqlField field 
)
void insert ( int  pos,
const QSqlField field 
)
void remove ( int  pos)
bool isEmpty ( ) const
bool contains ( const QString name) const
void clear ( )
void clearValues ( )
int count ( ) const

The documentation for this class was generated from the following file: