diff options
author | Martin Smith <martin.smith@qt.io> | 2018-01-18 14:04:41 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-01-24 10:01:58 +0000 |
commit | f28d0d8ae83b7a9882c5f2d5c4a2e651bbe3597e (patch) | |
tree | 6c713f4d1c76cdca11661a8bf4fabc6d3459acde /src/sql | |
parent | f30d733d1c9886fb5e125229eaa243351c1a525a (diff) |
doc: Add documentation for swap() functions
The functions had been added without documentation.
This update adds the documentation.
Change-Id: Ib29e9356b26c248b5fcc9f13ecf77371fbae054a
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/models/qsqlrelationaltablemodel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sql/models/qsqlrelationaltablemodel.cpp b/src/sql/models/qsqlrelationaltablemodel.cpp index 8220fea39a..1f590c4ab2 100644 --- a/src/sql/models/qsqlrelationaltablemodel.cpp +++ b/src/sql/models/qsqlrelationaltablemodel.cpp @@ -100,6 +100,12 @@ typedef QSqlRelationalTableModelSql Sql; */ /*! + \fn void QSqlRelation::swap(QSqlRelation &other) + + Swaps \c this with \a other. + */ + +/*! \fn QString QSqlRelation::tableName() const Returns the name of the table to which a foreign key refers. |