summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-retrieve2-main-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/sql-overview-retrieve2-main-cpp.html')
-rw-r--r--doc/html/sql-overview-retrieve2-main-cpp.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/sql-overview-retrieve2-main-cpp.html b/doc/html/sql-overview-retrieve2-main-cpp.html
index b1a86764a..ce4389bac 100644
--- a/doc/html/sql-overview-retrieve2-main-cpp.html
+++ b/doc/html/sql-overview-retrieve2-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,12 +52,12 @@ int main( int argc, char *argv[] )
<a href="ntqapplication.html">TQApplication</a> app( argc, argv );
if ( createConnections() ) {
- <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name
- cur.<a href="ntqsqlcursor.html#select">select</a>(); // We'll retrieve every record
- 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>( "salary" ).toString() );
+ <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name
+ cur.<a href="tqsqlcursor.html#select">select</a>(); // We'll retrieve every record
+ 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>( "salary" ).toString() );
}
}