summaryrefslogtreecommitdiffstats
path: root/doc/html/sql.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/sql.html')
-rw-r--r--doc/html/sql.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/sql.html b/doc/html/sql.html
index 7be337f7..19db86b6 100644
--- a/doc/html/sql.html
+++ b/doc/html/sql.html
@@ -145,7 +145,7 @@ your TQt applications.
This overview assumes that you have at least a basic knowledge of SQL.
You should be able to understand simple <tt>SELECT</tt>, <tt>INSERT</tt>, <tt>UPDATE</tt>
and <tt>DELETE</tt> commands. Although the <a href="qsqlcursor.html">TQSqlCursor</a> class provides an
-interface to database browsing and editing that does not <em>retquire</em> a
+interface to database browsing and editing that does not <em>require</em> a
knowledge of SQL, a basic understanding of SQL is highly recommended. A
standard text covering SQL databases is <em>An Introduction to Database Systems (7th ed.)</em> by C. J. Date, ISBN 0201385902.
</blockquote>
@@ -222,9 +222,9 @@ for more information).
<a name="4"></a><p> At least one database connection must be created and opened before the
<a href="qsqlquery.html">TQSqlQuery</a> or <a href="qsqlcursor.html">TQSqlCursor</a> classes can be used.
<p> If the application only needs a single database connection, the <a href="qsqldatabase.html">TQSqlDatabase</a> class can create a connection which is used by default
-for all SQL operations. If multiple database connections are retquired
+for all SQL operations. If multiple database connections are required
these can easily be set up.
-<p> <a href="qsqldatabase.html">TQSqlDatabase</a> retquires the <a href="qsqldatabase-h.html">qsqldatabase.h</a> header file.
+<p> <a href="qsqldatabase.html">TQSqlDatabase</a> requires the <a href="qsqldatabase-h.html">qsqldatabase.h</a> header file.
<p> <a name="Connecting_to_a_Single_Database"></a>
<h2> Connecting to a Single Database
</h2>
@@ -622,7 +622,7 @@ presented earlier.
follows this one we show how to link widgets to database cursors. Once
we have a knowledge of both cursors and data-aware widgets we can
discuss <a href="#Subclassing_QSqlCursor">subclassing TQSqlCursor</a>.
-<p> The <a href="qsqlcursor.html">TQSqlCursor</a> class retquires the <a href="qsqlcursor-h.html">qsqlcursor.h</a> header file.
+<p> The <a href="qsqlcursor.html">TQSqlCursor</a> class requires the <a href="qsqlcursor-h.html">qsqlcursor.h</a> header file.
<p> <a name="Retrieving_Records"></a>
<h3> Retrieving Records
</h3>
@@ -874,7 +874,7 @@ iteration we call the cursor's primeInsert() method. This method
returns a pointer to a <a href="qsqlrecord.html">TQSqlRecord</a> buffer in which all the fields
are set to <tt>NULL</tt>. (Note that <a href="qsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>() is virtual,
and can be customized by derived classes. See <a href="qsqlcursor.html">TQSqlCursor</a>). Next we
-call setValue() for each field that retquires a value. Finally we call
+call setValue() for each field that requires a value. Finally we call
insert() to insert the record. The insert() call returns the number of
rows inserted.
<p> We obtained a pointer to a <a href="qsqlrecord.html">TQSqlRecord</a> object from the primeInsert()
@@ -974,7 +974,7 @@ examples provides additional information.
}
</pre><blockquote><p align="center"><em> From <a href="sql-overview-table1-main-cpp.html">sql/overview/table1/main.cpp</a>
</em></p>
-</blockquote><p> Data-Aware tables retquire the <a href="qdatatable-h.html">qdatatable.h</a> and <a href="qsqlcursor-h.html">qsqlcursor.h</a> header
+</blockquote><p> Data-Aware tables require the <a href="qdatatable-h.html">qdatatable.h</a> and <a href="qsqlcursor-h.html">qsqlcursor.h</a> header
files. We create our application object, call createConnections() and
create the cursor. We create the <a href="qdatatable.html">TQDataTable</a> passing it a pointer to
the cursor, and set the autoPopulate flag to TRUE. Next we make our <a href="qdatatable.html">TQDataTable</a> the main widget and call refresh() to populate it with data
@@ -1370,7 +1370,7 @@ leave the loop.
<p> When the user edits the status field in the <a href="qdatatable.html">TQDataTable</a> they will be
presented with a combobox of valid status names taken from the status
table. However the status displayed is still the raw statusid. To
-display the status name when the field isn't being edited retquires us
+display the status name when the field isn't being edited requires us
to subclass TQDataTable and reimplement the paintField() function.
<p>
@@ -1487,7 +1487,7 @@ name of the table. We don't have any other characteristics to add at
this stage.
<p> <pre> InvoiceItemCursor invoiceItemCursor;
</pre>
-<p> Whenever we retquire a cursor over the invoiceitem table we can create
+<p> Whenever we require a cursor over the invoiceitem table we can create
an InvoiceItemCursor instead of a generic TQSqlCursor.
<p> We still need to show the product name rather than the pricesid.
<p>
@@ -1541,7 +1541,7 @@ name.
which perform real calculations.
<p> The header file, <a href="sql-overview-subclass4-main-h.html">sql/overview/subclass4/main.h</a>, remains unchanged
from the previous example, but the constructor and calculateField()
-function retquire some simple expansion. We'll look at each in turn.
+function require some simple expansion. We'll look at each in turn.
<p>
<pre> InvoiceItemCursor::InvoiceItemCursor() :