##// 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_QSqlRelation.h
28 lines | 904 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSQLRELATION_H
#define PYTHONQTWRAPPER_QSQLRELATION_H
#include <qsqlrelationaltablemodel.h>
#include <QObject>
#include <PythonQt.h>
#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);
QSqlRelation* new_QSqlRelation(const QSqlRelation& other) {
QSqlRelation* a = new QSqlRelation();
*((QSqlRelation*)a) = other;
return a; }
void delete_QSqlRelation(QSqlRelation* obj) { delete obj; }
QString indexColumn(QSqlRelation* theWrappedObject) const;
QString displayColumn(QSqlRelation* theWrappedObject) const;
bool isValid(QSqlRelation* theWrappedObject) const;
QString tableName(QSqlRelation* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSQLRELATION_H