QSqlIndex Class Reference

QSqlIndex Class Reference

#include <qsqlindex.h>

Class Description

Definition at line 55 of file qsqlindex.h.

+ Inheritance diagram for QSqlIndex:

Public Member Functions

 QSqlIndex (const QString &cursorName=QString(), const QString &name=QString())
 
 QSqlIndex (const QSqlIndex &other)
 
 ~QSqlIndex ()
 
QSqlIndexoperator= (const QSqlIndex &other)
 
void setCursorName (const QString &cursorName)
 
QString cursorName () const
 
void setName (const QString &name)
 
QString name () const
 
void append (const QSqlField &field)
 
void append (const QSqlField &field, bool desc)
 
bool isDescending (int i) const
 
void setDescending (int i, bool desc)
 
- Public Member Functions inherited from QSqlRecord
 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

QSqlIndex ( const QString cursorName = QString(),
const QString name = QString() 
)
QSqlIndex ( const QSqlIndex other)
~QSqlIndex ( )

Member Function Documentation

QSqlIndex& operator= ( const QSqlIndex other)
void setCursorName ( const QString cursorName)
QString cursorName ( ) const
inline

Definition at line 63 of file qsqlindex.h.

63 { return cursor; }
void setName ( const QString name)
QString name ( ) const
inline

Definition at line 65 of file qsqlindex.h.

65 { return nm; }
void append ( const QSqlField field)
void append ( const QSqlField field,
bool  desc 
)
bool isDescending ( int  i) const
void setDescending ( int  i,
bool  desc 
)

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