45 #include <QtCore/qstring.h> 71 void setValue(
int i,
const QVariant& val);
75 void setNull(
const QString& name);
79 int indexOf(
const QString &name)
const;
85 bool isGenerated(
int i)
const;
86 bool isGenerated(
const QString& name)
const;
87 void setGenerated(
const QString& name,
bool generated);
88 void setGenerated(
int i,
bool generated);
91 QT3_SUPPORT
const QSqlField* fieldPtr(
int i)
const;
93 inline QT3_SUPPORT
int position(
const QString& name)
const {
return indexOf(name); }
100 void replace(
int pos,
const QSqlField& field);
101 void insert(
int pos,
const QSqlField& field);
102 void remove(
int pos);
105 bool contains(
const QString& name)
const;
115 #ifndef QT_NO_DEBUG_STREAM 123 #endif // QSQLRECORD_H The QVariant class acts like a union for the most common Qt data types.
The QDebug class provides an output stream for debugging information.
Q_SQL_EXPORT QDebug operator<<(QDebug, const QSqlRecord &)
#define QT_END_NAMESPACE
This macro expands to.
static qreal position(QGraphicsObject *item, QDeclarativeAnchorLine::AnchorLine anchorLine)
static void clear(QVariant::Private *d)
bool operator!=(const QSqlRecord &other) const
Returns true if this object is not identical to other; otherwise returns false.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QSqlRecord class encapsulates a database record.
The QString class provides a Unicode character string.
static QString toString(Register *reg, int type, bool *ok=0)
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool isEmpty(const char *str)
The QStringList class provides a list of strings.
The QSqlField class manipulates the fields in SQL database tables and views.
bool operator==(QBool b1, bool b2)
static bool isNull(const QVariant::Private *d)