summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-order2-main-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/sql-overview-order2-main-cpp.html')
-rw-r--r--doc/html/sql-overview-order2-main-cpp.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/sql-overview-order2-main-cpp.html b/doc/html/sql-overview-order2-main-cpp.html
index 374a3728d..44a153d49 100644
--- a/doc/html/sql-overview-order2-main-cpp.html
+++ b/doc/html/sql-overview-order2-main-cpp.html
@@ -43,8 +43,8 @@ body { background: #ffffff; color: black; }
*****************************************************************************/
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
-#include &lt;<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>&gt;
-#include &lt;<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>&gt;
+#include &lt;<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>&gt;
+#include &lt;<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>&gt;
#include "../connection.h"
int main( int argc, char *argv[] )
@@ -52,16 +52,16 @@ int main( int argc, char *argv[] )
<a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE );
if ( createConnections() ) {
- <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" );
+ <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "staff" );
<a href="ntqstringlist.html">TQStringList</a> fields = TQStringList() &lt;&lt; "id" &lt;&lt; "forename";
- <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( fields );
- <a href="ntqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="ntqsqlcursor.html#index">index</a>( "surname" );
- cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "surname", "Bloggs" );
- cur.<a href="ntqsqlcursor.html#select">select</a>( filter, order );
- while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) {
- <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " +
- cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " +
- cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() );
+ <a href="tqsqlindex.html">TQSqlIndex</a> order = cur.<a href="tqsqlcursor.html#index">index</a>( fields );
+ <a href="tqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="tqsqlcursor.html#index">index</a>( "surname" );
+ cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "surname", "Bloggs" );
+ cur.<a href="tqsqlcursor.html#select">select</a>( filter, order );
+ while ( cur.<a href="tqsqlquery.html#next">next</a>() ) {
+ <a href="ntqapplication.html#qDebug">tqDebug</a>( cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toString() + ": " +
+ cur.<a href="tqsqlquery.html#value">value</a>( "surname" ).toString() + " " +
+ cur.<a href="tqsqlquery.html#value">value</a>( "forename" ).toString() );
}
}