summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-18 14:04:41 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-24 10:01:58 +0000
commitf28d0d8ae83b7a9882c5f2d5c4a2e651bbe3597e (patch)
tree6c713f4d1c76cdca11661a8bf4fabc6d3459acde
parentf30d733d1c9886fb5e125229eaa243351c1a525a (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>
-rw-r--r--src/sql/models/qsqlrelationaltablemodel.cpp6
-rw-r--r--src/xml/sax/qxml.cpp5
2 files changed, 11 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.
diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp
index 8615d9b10c..b781176e13 100644
--- a/src/xml/sax/qxml.cpp
+++ b/src/xml/sax/qxml.cpp
@@ -776,6 +776,11 @@ QXmlAttributes::~QXmlAttributes()
{
}
+/*!
+ \fn void QXmlAttributes::swap(QXmlAttributes &other)
+
+ Swaps \c this with \a other.
+ */
/*!
Looks up the index of an attribute by the qualified name \a qName.