NAME
Qt::Sql::QSqlRelationalTableModel
PUBLIC METHODS
- QSqlRelationalTableModel(QObject * parent, QSqlDatabase db)
- QSqlRelationalTableModel(QObject * parent, QSqlDatabase db = QSqlDatabase())
- QSqlRelationalTableModel(QObject * parent = 0, QSqlDatabase db = QSqlDatabase())
- ~QSqlRelationalTableModel()
- void clear()
- QVariant data(const QModelIndex & item, int role)
- QVariant data(const QModelIndex & item, int role = Qt::DisplayRole)
- QSqlRelation relation(int column)
- QSqlTableModel * relationModel(int column)
- bool removeColumns(int column, int count, const QModelIndex & parent)
- bool removeColumns(int column, int count, const QModelIndex & parent = QModelIndex())
- void revertRow(int row)
- bool select()
- bool setData(const QModelIndex & item, const QVariant & value, int role)
- bool setData(const QModelIndex & item, const QVariant & value, int role = Qt::EditRole)
- void setRelation(int column, const QSqlRelation & relation)
- void setTable(const QString & tableName)
ENUM VALUES
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.