##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QSqlRecord.cpp
155 lines | 4.1 KiB | text/x-c | CppLexer
#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::isGenerated(QSqlRecord* theWrappedObject, const QString& name) const
{
return ( theWrappedObject->isGenerated(name));
}
void PythonQtWrapper_QSqlRecord::setNull(QSqlRecord* theWrappedObject, const QString& name)
{
( theWrappedObject->setNull(name));
}
void PythonQtWrapper_QSqlRecord::append(QSqlRecord* theWrappedObject, const QSqlField& field)
{
( theWrappedObject->append(field));
}
void PythonQtWrapper_QSqlRecord::setValue(QSqlRecord* theWrappedObject, int i, const QVariant& val)
{
( theWrappedObject->setValue(i, val));
}
bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, int i) const
{
return ( theWrappedObject->isNull(i));
}
bool PythonQtWrapper_QSqlRecord::contains(QSqlRecord* theWrappedObject, const QString& name) const
{
return ( theWrappedObject->contains(name));
}
void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, const QString& name, bool generated)
{
( theWrappedObject->setGenerated(name, generated));
}
QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, int i) const
{
return ( theWrappedObject->value(i));
}
bool PythonQtWrapper_QSqlRecord::isGenerated(QSqlRecord* theWrappedObject, int i) const
{
return ( theWrappedObject->isGenerated(i));
}
void PythonQtWrapper_QSqlRecord::remove(QSqlRecord* theWrappedObject, int pos)
{
( theWrappedObject->remove(pos));
}
void PythonQtWrapper_QSqlRecord::setGenerated(QSqlRecord* theWrappedObject, int i, bool generated)
{
( theWrappedObject->setGenerated(i, generated));
}
void PythonQtWrapper_QSqlRecord::replace(QSqlRecord* theWrappedObject, int pos, const QSqlField& field)
{
( theWrappedObject->replace(pos, field));
}
QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, int i) const
{
return ( theWrappedObject->field(i));
}
void PythonQtWrapper_QSqlRecord::insert(QSqlRecord* theWrappedObject, int pos, const QSqlField& field)
{
( theWrappedObject->insert(pos, field));
}
bool PythonQtWrapper_QSqlRecord::isNull(QSqlRecord* theWrappedObject, const QString& name) const
{
return ( theWrappedObject->isNull(name));
}
bool PythonQtWrapper_QSqlRecord::operator_equal(QSqlRecord* theWrappedObject, const QSqlRecord& other) const
{
return ( (*theWrappedObject)== other);
}
QString PythonQtWrapper_QSqlRecord::fieldName(QSqlRecord* theWrappedObject, int i) const
{
return ( theWrappedObject->fieldName(i));
}
void PythonQtWrapper_QSqlRecord::clearValues(QSqlRecord* theWrappedObject)
{
( theWrappedObject->clearValues());
}
QSqlField PythonQtWrapper_QSqlRecord::field(QSqlRecord* theWrappedObject, const QString& name) const
{
return ( theWrappedObject->field(name));
}
int PythonQtWrapper_QSqlRecord::indexOf(QSqlRecord* theWrappedObject, const QString& name) const
{
return ( theWrappedObject->indexOf(name));
}
void PythonQtWrapper_QSqlRecord::clear(QSqlRecord* theWrappedObject)
{
( theWrappedObject->clear());
}
int PythonQtWrapper_QSqlRecord::count(QSqlRecord* theWrappedObject) const
{
return ( theWrappedObject->count());
}
bool PythonQtWrapper_QSqlRecord::isEmpty(QSqlRecord* theWrappedObject) const
{
return ( theWrappedObject->isEmpty());
}
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));
}
QVariant PythonQtWrapper_QSqlRecord::value(QSqlRecord* theWrappedObject, const QString& name) const
{
return ( theWrappedObject->value(name));
}
QString PythonQtWrapper_QSqlRecord::toString(QSqlRecord* obj) {
QString result;
QDebug d(&result);
d << *obj;
return result;
}