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.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/sql.html b/doc/html/sql.html
index 6b5687d42..ed5a06248 100644
--- a/doc/html/sql.html
+++ b/doc/html/sql.html
@@ -857,8 +857,8 @@ changes to the database are accurately reflected in the cursor.
<a href="ntqstringlist.html">TQStringList</a> names = TQStringList() &lt;&lt;
"Screwdriver" &lt;&lt; "Hammer" &lt;&lt; "Wrench" &lt;&lt; "Saw";
int id = 20;
- <a name="x2197"></a> for ( TQStringList::Iterator name = names.<a href="ntqvaluelist.html#begin">begin</a>();
- <a name="x2198"></a> name != names.<a href="ntqvaluelist.html#end">end</a>(); ++name ) {
+ <a name="x2197"></a> for ( TQStringList::Iterator name = names.<a href="tqvaluelist.html#begin">begin</a>();
+ <a name="x2198"></a> name != names.<a href="tqvaluelist.html#end">end</a>(); ++name ) {
<a name="x2195"></a> <a href="tqsqlrecord.html">TQSqlRecord</a> *buffer = cur.<a href="tqsqlcursor.html#primeInsert">primeInsert</a>();
<a name="x2196"></a> buffer-&gt;<a href="tqsqlrecord.html#setValue">setValue</a>( "id", id );
buffer-&gt;<a href="tqsqlrecord.html#setValue">setValue</a>( "name", *name );
@@ -1304,13 +1304,13 @@ can use a custom editor.
int statusId() const;
void setStatusId( int id );
private:
- <a href="ntqmap.html">TQMap</a>&lt; int, int &gt; index2id;
+ <a href="tqmap.html">TQMap</a>&lt; int, int &gt; index2id;
};
</pre><blockquote><p align="center"><em> From <a href="sql-overview-table3-main-h.html">sql/overview/table3/main.h</a>
</em></p>
</blockquote><p> 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 <a href="ntqmap.html">TQMap</a> to map combobox indexes
+from the combobox's indexes so we create a <a href="tqmap.html">TQMap</a> to map combobox indexes
to/from the statusids that we will list in the combobox.
<p> <pre> class CustomSqlEditorFactory : public <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a>
{
@@ -1340,7 +1340,7 @@ function since that is the only function we need to reimplement.
</blockquote><p> 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 <a href="ntqmap.html">TQMap</a> using the same TQMap index as
+statusid for each name in the index2id <a href="tqmap.html">TQMap</a> using the same TQMap index as
the combobox index.
<p> <pre> int StatusPicker::statusId() const
{