summaryrefslogtreecommitdiffstats
path: root/doc/sql.doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-05 19:02:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-05 19:02:23 +0900
commit1f0ce8533cc837aa2d4155b5fc17d2004bed0197 (patch)
treed62f4174c0e58e1aa895fc71484d068b614cd6de /doc/sql.doc
parent8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (diff)
downloadtqt3-1f0ce8533cc837aa2d4155b5fc17d2004bed0197.tar.gz
tqt3-1f0ce8533cc837aa2d4155b5fc17d2004bed0197.zip
Rename template library nt* 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.doc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/sql.doc b/doc/sql.doc
index 9542f4af..f57ba774 100644
--- a/doc/sql.doc
+++ b/doc/sql.doc
@@ -1096,7 +1096,7 @@ can use a custom editor.
We create a property, statusid, and define our READ and WRITE methods
for it. The statusid's in the status table will probably be different
-from the combobox's indexes so we create a QMap to map combobox indexes
+from the combobox's indexes so we create a TQMap to map combobox indexes
to/from the statusids that we will list in the combobox.
\skipto CustomSqlEditor
@@ -1117,7 +1117,7 @@ function since that is the only function we need to reimplement.
In the StatusPicker's constructor we create a cursor over the status
table indexed by the name field. We then iterate over each record in the
status table inserting each name into the combobox. We store the
-statusid for each name in the index2id QMap using the same QMap index as
+statusid for each name in the index2id TQMap using the same TQMap index as
the combobox index.
\skipto StatusPicker
@@ -1125,7 +1125,7 @@ the combobox index.
\printuntil }
The statusid property READ function simply involves looking up the
-combobox's index for the currently selected item in the index2id QMap
+combobox's index for the currently selected item in the index2id TQMap
which maps combobox indexes to statusids.
\skipto StatusPicker
@@ -1135,8 +1135,8 @@ which maps combobox indexes to statusids.
\printline
The statusId() function implements the statusid property's WRITE
-function. We create an iterator over a QMap and iterate over the
-index2id QMap. We compare each index2id element's data (statusid) to
+function. We create an iterator over a TQMap and iterate over the
+index2id TQMap. We compare each index2id element's data (statusid) to
the id parameter's value. If we have a match we set the combobox's
current item to the index2id element's key (the combobox index), and
leave the loop.