diff options
Diffstat (limited to 'doc/html/sql.html')
-rw-r--r-- | doc/html/sql.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/sql.html b/doc/html/sql.html index 50554dfa9..f10d30213 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -1493,7 +1493,7 @@ an InvoiceItemCursor instead of a generic TQSqlCursor. <p> <pre> protected: - <a href="ntqvariant.html">TQVariant</a> calculateField( const <a href="tqstring.html">TQString</a> & name ); + <a href="tqvariant.html">TQVariant</a> calculateField( const <a href="tqstring.html">TQString</a> & name ); </pre><blockquote><p align="center"><em> From <a href="sql-overview-subclass3-main-h.html">sql/overview/subclass3/main.h</a> </em></p> </blockquote><p> The change in the header file is minimal: we simply add the signature @@ -1596,7 +1596,7 @@ must calculate the value of three different fields. The productname and price fields are produced by looking up the corresponding values in the prices table keyed by pricesid. The cost field is calculated simply by multiplying the price by the quantity. Note that we cast the -cost to a <a href="ntqvariant.html">TQVariant</a> since that is the type that calculateField() must +cost to a <a href="tqvariant.html">TQVariant</a> since that is the type that calculateField() must return. <p> We've written three separate queries rather than one to make the example more like a real application where it is more likely that each |