diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2012-10-12 14:06:53 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2012-10-12 15:06:30 +0200 |
commit | 6234dadf09af4fc7f58b7707a436a08f8ab0318c (patch) | |
tree | 5e6f5d7c49f86166e132cebfd53cf9a77f6eba7d /src/sql/models/qsqlrelationaldelegate.cpp | |
parent | 9f657424aafbcbde82bb39673a6f028d106ccda6 (diff) |
doc: Fix a few doc errors for QtSQL
The examples include path already contains 'sql', so we can't prefix the
includes with 'sql' as well. Changing the include path to also include
the parent examples directory is not an option, as qdoc will then try to
generate output for example single example.
Change-Id: Ifae07af86e60e6105a0625f29fbd6bc8f73b2550
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/sql/models/qsqlrelationaldelegate.cpp')
-rw-r--r-- | src/sql/models/qsqlrelationaldelegate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/models/qsqlrelationaldelegate.cpp b/src/sql/models/qsqlrelationaldelegate.cpp index 31b3df3858..af50c03b2d 100644 --- a/src/sql/models/qsqlrelationaldelegate.cpp +++ b/src/sql/models/qsqlrelationaldelegate.cpp @@ -53,9 +53,9 @@ QT_BEGIN_NAMESPACE use the class, simply call QAbstractItemView::setItemDelegate() on the view with an instance of QSqlRelationalDelegate: - \snippet sql/relationaltablemodel/relationaltablemodel.cpp 4 + \snippet relationaltablemodel/relationaltablemodel.cpp 4 - The \l{sql/relationaltablemodel}{Relational Table Model} example + The \l{relationaltablemodel}{Relational Table Model} example (shown below) illustrates how to use QSqlRelationalDelegate in conjunction with QSqlRelationalTableModel to provide tables with foreign key support. |