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>
This commit is contained in:
parent
37b4c07c70
commit
312ff6f83b
@ -43,15 +43,15 @@
|
|||||||
|
|
||||||
\section1 TableEditor Class Definition
|
\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.
|
widget a top-level dialog window.
|
||||||
|
|
||||||
\snippet cachedtable/tableeditor.h 0
|
\snippet cachedtable/tableeditor.h 0
|
||||||
|
|
||||||
The \c TableEditor constructor takes two arguments: The first is a
|
The \c TableEditor constructor takes two arguments: The first is a
|
||||||
pointer to the parent widget and is passed on to the base class
|
reference to the database table the \c TableEditor object will operate
|
||||||
constructor. The other is a reference to the database table the \c
|
on. The other is a pointer to the parent widget and is passed on to the
|
||||||
TableEditor object will operate on.
|
base class constructor.
|
||||||
|
|
||||||
Note the QSqlTableModel variable declaration: As we will see in
|
Note the QSqlTableModel variable declaration: As we will see in
|
||||||
this example, the QSqlTableModel class can be used to provide data
|
this example, the QSqlTableModel class can be used to provide data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user