Qt 4.8
Classes | Functions
qsqlrecord.h File Reference
#include <QtCore/qstring.h>

Go to the source code of this file.

Classes

class  QSqlRecord
 The QSqlRecord class encapsulates a database record. More...
 

Functions

Q_SQL_EXPORT QDebug operator<< (QDebug, const QSqlRecord &)
 

Function Documentation

◆ operator<<()

Q_SQL_EXPORT QDebug operator<< ( QDebug  ,
const QSqlRecord  
)

Definition at line 618 of file qsqlrecord.cpp.

619 {
620  dbg << "QSqlRecord(" << r.count() << ')';
621  for (int i = 0; i < r.count(); ++i)
622  dbg << '\n' << QString::fromLatin1("%1:").arg(i, 2) << r.field(i) << r.value(i).toString();
623  return dbg;
624 }
QString arg(qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
Definition: qstring.cpp:7186
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
Definition: qstring.cpp:4188