diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-09 14:57:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-12 18:58:18 +0900 |
commit | 6f57abfc9cd3acf1d648aee696947ac9216adb71 (patch) | |
tree | 4ae374b1ce01d388bca2249c5d903d79a6cb814f /doc/sql.doc | |
parent | 0582c90a9ed4b965629267713f51c0da7c38b39d (diff) | |
download | tqt3-6f57abfc9cd3acf1d648aee696947ac9216adb71.tar.gz tqt3-6f57abfc9cd3acf1d648aee696947ac9216adb71.zip |
Rename remaining ntq[s-z]* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/sql.doc')
-rw-r--r-- | doc/sql.doc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/sql.doc b/doc/sql.doc index 4a5206b47..17145f87f 100644 --- a/doc/sql.doc +++ b/doc/sql.doc @@ -372,7 +372,7 @@ wrote earlier. After creating the initial \c SELECT statement, isActive() is checked to see if the query executed successfully. The next() function is used to iterate through the query results. The value() function -returns the contents of fields as QVariants. The insertions are +returns the contents of fields as TQVariants. The insertions are achieved by creating and executing queries against the default database using the \c target TQSqlQuery. @@ -1231,7 +1231,7 @@ of the calculateField() function since we will be reimplementing it. \quotefile sql/overview/subclass3/main.cpp \skipto InvoiceItem \printline InvoiceItem -\printuntil return QVariant +\printuntil return TQVariant \printline \caption From \l sql/overview/subclass3/main.cpp @@ -1283,7 +1283,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 QVariant 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 |