summaryrefslogtreecommitdiffstats
path: root/examples/sql
diff options
context:
space:
mode:
authorKavindra Palaraja <kpalaraja@luxoft.com>2019-10-29 17:21:05 +0100
committerKavindra Palaraja <kpalaraja@luxoft.com>2019-11-01 08:00:57 +0100
commit312ff6f83be2ba5b577acfe9872f5e20b3430b6a (patch)
tree8cb5022188dff71a4cf56e6f1ca2e227e960f7dc /examples/sql
parent37b4c07c705d068d00863ee0373322f8a94cb06e (diff)
Docs: Fix a typo in the documentation
Change-Id: Ice4d0842883e32f62abd27be826b1caf1c78d3b6 Fixes: QTBUG-55503 Reviewed-by: Frederik Schwarzer <schwarzer@kde.org> Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'examples/sql')
-rw-r--r--examples/sql/doc/src/cachedtable.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/sql/doc/src/cachedtable.qdoc b/examples/sql/doc/src/cachedtable.qdoc
index 2db80f9c8e..0dd7928e21 100644
--- a/examples/sql/doc/src/cachedtable.qdoc
+++ b/examples/sql/doc/src/cachedtable.qdoc
@@ -43,15 +43,15 @@
\section1 TableEditor Class Definition
- The \c TableEditor class inherits QDialog making the table editor
+ The \c TableEditor class inherits QWidget making the table editor
widget a top-level dialog window.
\snippet cachedtable/tableeditor.h 0
The \c TableEditor constructor takes two arguments: The first is a
- pointer to the parent widget and is passed on to the base class
- constructor. The other is a reference to the database table the \c
- TableEditor object will operate on.
+ reference to the database table the \c TableEditor object will operate
+ on. The other is a pointer to the parent widget and is passed on to the
+ base class constructor.
Note the QSqlTableModel variable declaration: As we will see in
this example, the QSqlTableModel class can be used to provide data