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.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/sql-overview-retrieve2-main-cpp.html b/doc/html/sql-overview-retrieve2-main-cpp.html
index 144166f17..479ad26a4 100644
--- a/doc/html/sql-overview-retrieve2-main-cpp.html
+++ b/doc/html/sql-overview-retrieve2-main-cpp.html
@@ -42,22 +42,22 @@ body { background: #ffffff; color: black; }
**
*****************************************************************************/
-#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
-#include &lt;<a href="qsqldatabase-h.html">qsqldatabase.h</a>&gt;
-#include &lt;<a href="qsqlcursor-h.html">qsqlcursor.h</a>&gt;
+#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 "../connection.h"
int main( int argc, char *argv[] )
{
- <a href="qapplication.html">TQApplication</a> app( argc, argv );
+ <a href="ntqapplication.html">TQApplication</a> app( argc, argv );
if ( createConnections() ) {
- <a href="qsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name
- cur.<a href="qsqlcursor.html#select">select</a>(); // We'll retrieve every record
- while ( cur.<a href="qsqlquery.html#next">next</a>() ) {
- <a href="qapplication.html#qDebug">qDebug</a>( cur.<a href="qsqlquery.html#value">value</a>( "id" ).toString() + ": " +
- cur.<a href="qsqlquery.html#value">value</a>( "surname" ).toString() + " " +
- cur.<a href="qsqlquery.html#value">value</a>( "salary" ).toString() );
+ <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">qDebug</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() );
}
}