##// 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.h
22 lines | 742 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSQLRELATION_H
#define PYTHONQTWRAPPER_QSQLRELATION_H
#include <qsqlrelationaltablemodel.h>
#include <QObject>
#include <QVariant>
class PythonQtWrapper_QSqlRelation : public QObject
{ Q_OBJECT
public:
public slots:
QSqlRelation* new_QSqlRelation();
QSqlRelation* new_QSqlRelation(const QString& aTableName, const QString& indexCol, const QString& displayCol);
void delete_QSqlRelation(QSqlRelation* obj) { delete obj; }
QString displayColumn(QSqlRelation* theWrappedObject) const;
QString indexColumn(QSqlRelation* theWrappedObject) const;
bool isValid(QSqlRelation* theWrappedObject) const;
QString tableName(QSqlRelation* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSQLRELATION_H