45 #include <QtSql/qsql.h> 46 #include <QtSql/qsqldatabase.h> 47 #include <QtCore/qstring.h> 60 template <
class Key,
class T>
class QMap;
74 bool isActive()
const;
75 bool isNull(
int field)
const;
78 int numRowsAffected()
const;
80 bool isSelect()
const;
84 bool isForwardOnly()
const;
87 void setForwardOnly(
bool forward);
88 bool exec(
const QString& query);
94 bool seek(
int i,
bool relative =
false);
98 inline QT3_SUPPORT
bool prev() {
return previous(); }
109 bool prepare(
const QString& query);
130 #endif // QSQLQUERY_H The QVariant class acts like a union for the most common Qt data types.
The QSqlError class provides SQL database error information.
#define QT_END_NAMESPACE
This macro expands to.
#define at(className, varName)
The QSqlQuery class provides a means of executing and manipulating SQL statements.
static void clear(QVariant::Private *d)
The QSqlDatabase class represents a connection to a database.
The QSqlRecord class encapsulates a database record.
The QSqlDriver class is an abstract base class for accessing specific SQL databases.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QSqlResult class provides an abstract interface for accessing data from specific SQL databases...
The QMap class is a template class that provides a skip-list-based dictionary.
static bool isNull(const QVariant::Private *d)