![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
QRelation ()=default | |
void | init (QSqlRelationalTableModel *parent, const QSqlRelation &relation, int column) |
void | populateModel () |
bool | isDictionaryInitialized () const |
void | populateDictionary () |
void | clearDictionary () |
void | clear () |
bool | isValid () const |
QRelation ()=default | |
void | init (QSqlRelationalTableModel *parent, const QSqlRelation &relation, int column) |
void | populateModel () |
bool | isDictionaryInitialized () const |
void | populateDictionary () |
void | clearDictionary () |
void | clear () |
bool | isValid () const |
Public Attributes | |
QSqlRelation | rel |
QRelatedTableModel * | model = nullptr |
QHash< QString, QVariant > | dictionary |
Definition at line 103 of file qsqlrelationaltablemodel.cpp.
|
default |
|
default |
void QRelation::clear | ( | ) |
Definition at line 216 of file qsqlrelationaltablemodel.cpp.
References clearDictionary(), and model.
void QRelation::clear | ( | ) |
void QRelation::clearDictionary | ( | ) |
Definition at line 210 of file qsqlrelationaltablemodel.cpp.
Referenced by clear(), and QRelatedTableModel::select().
void QRelation::clearDictionary | ( | ) |
void QRelation::init | ( | QSqlRelationalTableModel * | parent, |
const QSqlRelation & | relation, | ||
int | column ) |
Definition at line 143 of file qsqlrelationaltablemodel.cpp.
void QRelation::init | ( | QSqlRelationalTableModel * | parent, |
const QSqlRelation & | relation, | ||
int | column ) |
bool QRelation::isDictionaryInitialized | ( | ) | const |
Definition at line 177 of file qsqlrelationaltablemodel.cpp.
bool QRelation::isDictionaryInitialized | ( | ) | const |
bool QRelation::isValid | ( | ) | const |
Definition at line 223 of file qsqlrelationaltablemodel.cpp.
Referenced by populateDictionary(), and populateModel().
bool QRelation::isValid | ( | ) | const |
void QRelation::populateDictionary | ( | ) |
Definition at line 182 of file qsqlrelationaltablemodel.cpp.
References isValid(), model, and populateModel().
Referenced by QRelatedTableModel::select().
void QRelation::populateDictionary | ( | ) |
void QRelation::populateModel | ( | ) |
Definition at line 151 of file qsqlrelationaltablemodel.cpp.
References isValid(), model, and QRelatedTableModel::select().
Referenced by populateDictionary().
void QRelation::populateModel | ( | ) |
Definition at line 121 of file qsqlrelationaltablemodel.cpp.
QRelatedTableModel * QRelation::model = nullptr |
Definition at line 120 of file qsqlrelationaltablemodel.cpp.
Referenced by clear(), populateDictionary(), and populateModel().
QSqlRelation QRelation::rel |
Definition at line 119 of file qsqlrelationaltablemodel.cpp.