From 6f57abfc9cd3acf1d648aee696947ac9216adb71 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 9 Sep 2024 14:57:42 +0900 Subject: Rename remaining ntq[s-z]* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/sql.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/sql.html') diff --git a/doc/html/sql.html b/doc/html/sql.html index 50554dfa..f10d3021 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -1493,7 +1493,7 @@ an InvoiceItemCursor instead of a generic TQSqlCursor.

        protected:
-            TQVariant calculateField( const TQString & name );
+            TQVariant calculateField( const TQString & name );
 

From sql/overview/subclass3/main.h

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 TQVariant since that is the type that calculateField() must +cost to a TQVariant since that is the type that calculateField() must return.

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 -- cgit v1.2.1