diff options
author | Volker Hilsheimer <[email protected]> | 2023-05-20 14:46:29 +0200 |
---|---|---|
committer | Volker Hilsheimer <[email protected]> | 2023-05-24 17:29:20 +0200 |
commit | 8fa28b0cff8f06a7c266f2a6ff2a016daf4ad6d3 (patch) | |
tree | c3e06a613076bb2f212840c60aaeb3e64e203db7 | |
parent | 84e6d89c1b07830da82da1073930c094f6b99a81 (diff) |
Update Cached Table example meta-data
Drop "Example" from the example's title, add SQL instead, and add it
to the Input/Output category of examples. It's a documented example,
does something meaningful, and looks reasonable. Having one SQL example
categorised so that it's easy to see that Qt includes that functionality
seems like a good idea. The other examples are mostly small API
examples that are still good to have as fully-functional apps rather
than just snippets.
Pick-to: 6.5
Change-Id: Ib960f38db39c791f7ff5a2b9bf3157ee32b362ec
Reviewed-by: Andreas Eliasson <[email protected]>
-rw-r--r-- | examples/sql/doc/src/cachedtable.qdoc | 3 | ||||
-rw-r--r-- | src/sql/models/qsqltablemodel.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/sql/doc/src/cachedtable.qdoc b/examples/sql/doc/src/cachedtable.qdoc index 35b8fdd440e..4b0d3ac1a1e 100644 --- a/examples/sql/doc/src/cachedtable.qdoc +++ b/examples/sql/doc/src/cachedtable.qdoc @@ -3,8 +3,9 @@ /*! \example cachedtable - \title Cached Table Example + \title Cached SQL Table \ingroup sql_examples + \examplecategory {Input/Output} \brief The Cached Table example shows how a table view can be used to access a database, caching any changes to the data until the user explicitly submits them using a diff --git a/src/sql/models/qsqltablemodel.cpp b/src/sql/models/qsqltablemodel.cpp index 989904c8a1c..265d7782a08 100644 --- a/src/sql/models/qsqltablemodel.cpp +++ b/src/sql/models/qsqltablemodel.cpp @@ -205,7 +205,7 @@ bool QSqlTableModelPrivate::exec(const QString &stmt, bool prepStatement, want to resolve foreign keys. \sa QSqlRelationalTableModel, QSqlQuery, {Model/View Programming}, - {Table Model Example}, {Cached Table Example} + {Table Model Example}, {Cached SQL Table} */ /*! |