summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-08-15 19:10:30 +0200
committerDavid Boddie <david.boddie@nokia.com>2011-08-15 19:10:30 +0200
commit540222f0d936a48f57ed36496fcb211cc437cb1b (patch)
tree70d18fe3ca5ac8e53410fc2b62d08fa80d88e09a /src/sql
parent1c4b284b54c8d0166f777b256d1ac3eedd8ea593 (diff)
Doc: Fixed qdoc warnings.
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/models/qsqlrelationaltablemodel.cpp26
1 files changed, 17 insertions, 9 deletions
diff --git a/src/sql/models/qsqlrelationaltablemodel.cpp b/src/sql/models/qsqlrelationaltablemodel.cpp
index 188259d2e1..0edfaf4001 100644
--- a/src/sql/models/qsqlrelationaltablemodel.cpp
+++ b/src/sql/models/qsqlrelationaltablemodel.cpp
@@ -710,24 +710,32 @@ void QSqlRelationalTableModel::clear()
}
-/*! \enum QSqlRelationalTableModel::JoinMode
+/*!
+ \enum QSqlRelationalTableModel::JoinMode
+ \since 4.8
- \value InnerJoin - Inner join mode, return rows when there is at least one match in both tables.
- \value LeftJoin - Left join mode, returns all rows from the left table (table_name1), even if there are no matches in the right table (table_name2).
+ This enum specifies the type of mode to use when joining two tables.
- \sa QSqlRelationalTableModel::setJoinMode
- \since 4.8
+ \value InnerJoin Inner join mode, return rows when there is at least one
+ match in both tables.
+ \value LeftJoin Left join mode, returns all rows from the left table
+ (table_name1), even if there are no matches in the right
+ table (table_name2).
+
+ \sa QSqlRelationalTableModel::setJoinMode()
*/
/*!
- Sets the SQL join mode to show or hide rows with NULL foreign keys.
- In InnerJoin mode (the default) these rows will not be showed: use the
+ \since 4.8
+ Sets the SQL join mode to the value given by \a joinMode to show or hide
+ rows with NULL foreign keys.
+
+ In InnerJoin mode (the default) these rows will not be shown; use the
LeftJoin mode if you want to show them.
\sa QSqlRelationalTableModel::JoinMode
- \since 4.8
*/
-void QSqlRelationalTableModel::setJoinMode( QSqlRelationalTableModel::JoinMode joinMode )
+void QSqlRelationalTableModel::setJoinMode(QSqlRelationalTableModel::JoinMode joinMode)
{
Q_D(QSqlRelationalTableModel);
d->joinMode = joinMode;