Detailed Description
Definition at line 59 of file qsqlquerymodel.h.
#include <qsqlquerymodel.h>
List of all
members.
Public Member Functions
|
| |
QSqlQueryModel
(QObject
*parent=0) |
|
virtual |
~QSqlQueryModel
() |
| int |
rowCount
(const QModelIndex &parent=QModelIndex()) const |
| int |
columnCount
(const QModelIndex &parent=QModelIndex()) const |
| QSqlRecord |
record
(int row) const |
| QSqlRecord |
record
() const |
| QVariant |
data
(const QModelIndex &item, int
role=Qt::DisplayRole) const |
| QVariant |
headerData
(int section, Qt::Orientation
orientation, int role=Qt::DisplayRole) const |
| bool |
setHeaderData
(int section, Qt::Orientation
orientation, const QVariant &value, int
role=Qt::EditRole) |
| bool |
insertColumns
(int column, int count, const QModelIndex &parent=QModelIndex()) |
| bool |
removeColumns
(int column, int count, const QModelIndex &parent=QModelIndex()) |
| void |
setQuery
(const QSqlQuery
&query) |
| void |
setQuery
(const QString
&query, const QSqlDatabase &db=QSqlDatabase()) |
| QSqlQuery |
query
() const |
| virtual
void |
clear
() |
| QSqlError |
lastError
() const |
| void |
fetchMore
(const QModelIndex &parent=QModelIndex()) |
| bool |
canFetchMore
(const QModelIndex &parent=QModelIndex()) const |
Protected Member Functions
|
| virtual
void |
queryChange
() |
| QModelIndex |
indexInQuery
(const QModelIndex &item) const |
| void |
setLastError
(const QSqlError
&error) |
| |
QSqlQueryModel
(QSqlQueryModelPrivate &dd, QObject *parent=0) |
Constructor & Destructor Documentation
Member Function Documentation
| bool setHeaderData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
const QVariant & |
value, |
|
|
int |
role =
Qt::EditRole |
|
) |
|
[virtual] |
| virtual void clear |
( |
|
) |
[virtual] |
| virtual void queryChange |
( |
|
) |
[protected, virtual] |
| void setLastError |
( |
const QSqlError & |
error |
) |
[protected] |
The documentation for this class was generated from the following
file:
QSqlQueryModel QSqlQueryModel
QSqlQueryModel QSqlQueryModel QSqlQueryModel QSqlQueryModel
QSqlQueryModel QSqlQueryModel QSqlQueryModel QSqlQueryModel
QSqlQueryModel QSqlQueryModel
QSqlQueryModel QSqlQueryModel QSqlQueryModel QSqlQueryModel
QSqlQueryModel QSqlQueryModel QSqlQueryModel QSqlQueryModel