|
|
#include "PythonQtWrapper_QSqlRecord.h"
|
|
|
|
|
|
#include <PythonQtSignalReceiver.h>
|
|
|
#include <PythonQtMethodInfo.h>
|
|
|
#include <PythonQtConversion.h>
|
|
|
#include <QSqlField>
|
|
|
#include <QVariant>
|
|
|
#include <qsqlfield.h>
|
|
|
#include <qsqlrecord.h>
|
|
|
|
|
|
QSqlRecord* PythonQtWrapper_QSqlRecord::new_QSqlRecord()
|
|
|
{
|
|
|
return new QSqlRecord(); }
|
|
|
|
|
|
QSqlRecord* PythonQtWrapper_QSqlRecord::new_QSqlRecord(const QSqlRecord& other)
|
|
|
{
|
|
|
return new QSqlRecord(other); }
|
|
|
|
|
|
bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, int i) const
|
|
|
{
|
|
|
return theWrappedObject->isNull(i);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QSqlRecord::isGenerated(QSqlRecord* theWrappedObject, const QString& name) const
|
|
|
{
|
|
|
return theWrappedObject->isGenerated(name);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val)
|
|
|
{
|
|
|
theWrappedObject->setValue(i, val);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::clear(QSqlRecord* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->clear();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QSqlRecord::isGenerated(QSqlRecord* theWrappedObject, int i) const
|
|
|
{
|
|
|
return theWrappedObject->isGenerated(i);
|
|
|
}
|
|
|
|
|
|
QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, int i) const
|
|
|
{
|
|
|
return theWrappedObject->field(i);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QSqlRecord::isEmpty(QSqlRecord* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isEmpty();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, int i, bool generated)
|
|
|
{
|
|
|
theWrappedObject->setGenerated(i, generated);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::setNull(QSqlRecord* theWrappedObject, int i)
|
|
|
{
|
|
|
theWrappedObject->setNull(i);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::setValue(QSqlRecord* theWrappedObject, const QString& name, const QVariant& val)
|
|
|
{
|
|
|
theWrappedObject->setValue(name, val);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::remove(QSqlRecord* theWrappedObject, int pos)
|
|
|
{
|
|
|
theWrappedObject->remove(pos);
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QSqlRecord::indexOf(QSqlRecord* theWrappedObject, const QString& name) const
|
|
|
{
|
|
|
return theWrappedObject->indexOf(name);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated)
|
|
|
{
|
|
|
theWrappedObject->setGenerated(name, generated);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field)
|
|
|
{
|
|
|
theWrappedObject->replace(pos, field);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::append(QSqlRecord* theWrappedObject, const QSqlField& field)
|
|
|
{
|
|
|
theWrappedObject->append(field);
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QSqlRecord::count(QSqlRecord* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->count();
|
|
|
}
|
|
|
|
|
|
QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, const QString& name) const
|
|
|
{
|
|
|
return theWrappedObject->value(name);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::setNull(QSqlRecord* theWrappedObject, const QString& name)
|
|
|
{
|
|
|
theWrappedObject->setNull(name);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::clearValues(QSqlRecord* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->clearValues();
|
|
|
}
|
|
|
|
|
|
QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, int i) const
|
|
|
{
|
|
|
return theWrappedObject->value(i);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QSqlRecord::contains(QSqlRecord* theWrappedObject, const QString& name) const
|
|
|
{
|
|
|
return theWrappedObject->contains(name);
|
|
|
}
|
|
|
|
|
|
QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, const QString& name) const
|
|
|
{
|
|
|
return theWrappedObject->field(name);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QSqlRecord::operator_equal(QSqlRecord* theWrappedObject, const QSqlRecord& other) const
|
|
|
{
|
|
|
return (*theWrappedObject)== other;
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QSqlRecord::insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field)
|
|
|
{
|
|
|
theWrappedObject->insert(pos, field);
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QSqlRecord::fieldName(QSqlRecord* theWrappedObject, int i) const
|
|
|
{
|
|
|
return theWrappedObject->fieldName(i);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, const QString& name) const
|
|
|
{
|
|
|
return theWrappedObject->isNull(name);
|
|
|
}
|
|
|
|
|
|
|