summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-navigating-main-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/sql-overview-navigating-main-cpp.html')
-rw-r--r--doc/html/sql-overview-navigating-main-cpp.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/sql-overview-navigating-main-cpp.html b/doc/html/sql-overview-navigating-main-cpp.html
index 0da2adf16..51171b5e0 100644
--- a/doc/html/sql-overview-navigating-main-cpp.html
+++ b/doc/html/sql-overview-navigating-main-cpp.html
@@ -42,26 +42,26 @@ 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="qsqlquery-h.html">qsqlquery.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="qsqlquery-h.html">ntqsqlquery.h</a>&gt;
#include "../connection.h"
int main( int argc, char *argv[] )
{
- <a href="qapplication.html">TQApplication</a> app( argc, argv, FALSE );
+ <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE );
if ( createConnections() ) {
- <a href="qsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people ORDER BY name" );
- if ( ! query.<a href="qsqlquery.html#isActive">isActive</a>() ) return 1; // Query failed
+ <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people ORDER BY name" );
+ if ( ! query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) return 1; // Query failed
int i;
- i = query.<a href="qsqlquery.html#size">size</a>(); // In this example we have 9 records; i == 9.
- query.<a href="qsqlquery.html#first">first</a>(); // Moves to the first record.
- i = query.<a href="qsqlquery.html#at">at</a>(); // i == 0
- query.<a href="qsqlquery.html#last">last</a>(); // Moves to the last record.
- i = query.<a href="qsqlquery.html#at">at</a>(); // i == 8
- query.<a href="qsqlquery.html#seek">seek</a>( query.<a href="qsqlquery.html#size">size</a>() / 2 ); // Moves to the middle record.
- i = query.<a href="qsqlquery.html#at">at</a>(); // i == 4
+ i = query.<a href="ntqsqlquery.html#size">size</a>(); // In this example we have 9 records; i == 9.
+ query.<a href="ntqsqlquery.html#first">first</a>(); // Moves to the first record.
+ i = query.<a href="ntqsqlquery.html#at">at</a>(); // i == 0
+ query.<a href="ntqsqlquery.html#last">last</a>(); // Moves to the last record.
+ i = query.<a href="ntqsqlquery.html#at">at</a>(); // i == 8
+ query.<a href="ntqsqlquery.html#seek">seek</a>( query.<a href="ntqsqlquery.html#size">size</a>() / 2 ); // Moves to the middle record.
+ i = query.<a href="ntqsqlquery.html#at">at</a>(); // i == 4
}
return 0;