##// END OF EJS Templates
named the struct and implemented classInfo() as a member of the struct and not the typedef (this seems to be a GCC issue, it worked well on MSVC8)...
named the struct and implemented classInfo() as a member of the struct and not the typedef (this seems to be a GCC issue, it worked well on MSVC8) git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@57 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r21:3c0cb2942ee0
Show More
PythonQtWrapper_QSqlRelation.cpp
32 lines | 893 B | text/x-c | CppLexer
#include "PythonQtWrapper_QSqlRelation.h"
#include <QVariant>
QSqlRelation* PythonQtWrapper_QSqlRelation::new_QSqlRelation()
{
return new QSqlRelation(); }
QSqlRelation* PythonQtWrapper_QSqlRelation::new_QSqlRelation(const QString& aTableName, const QString& indexCol, const QString& displayCol)
{
return new QSqlRelation(aTableName, indexCol, displayCol); }
QString PythonQtWrapper_QSqlRelation::displayColumn(QSqlRelation* theWrappedObject) const
{
return theWrappedObject->displayColumn();
}
QString PythonQtWrapper_QSqlRelation::indexColumn(QSqlRelation* theWrappedObject) const
{
return theWrappedObject->indexColumn();
}
bool PythonQtWrapper_QSqlRelation::isValid(QSqlRelation* theWrappedObject) const
{
return theWrappedObject->isValid();
}
QString PythonQtWrapper_QSqlRelation::tableName(QSqlRelation* theWrappedObject) const
{
return theWrappedObject->tableName();
}