summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-connect1-main-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/sql-overview-connect1-main-cpp.html')
-rw-r--r--doc/html/sql-overview-connect1-main-cpp.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/sql-overview-connect1-main-cpp.html b/doc/html/sql-overview-connect1-main-cpp.html
index 7eaf1ef0b..9428a4bcd 100644
--- a/doc/html/sql-overview-connect1-main-cpp.html
+++ b/doc/html/sql-overview-connect1-main-cpp.html
@@ -43,7 +43,7 @@ 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="tqsqldatabase-h.html">tqsqldatabase.h</a>&gt;
#include "../connection.h"
@@ -51,13 +51,13 @@ int main( int argc, char *argv[] )
{
<a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE );
- <a href="ntqsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="ntqsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER );
- defaultDB-&gt;<a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME );
- defaultDB-&gt;<a href="ntqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER );
- defaultDB-&gt;<a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD );
- defaultDB-&gt;<a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST );
+ <a href="tqsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="tqsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER );
+ defaultDB-&gt;<a href="tqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME );
+ defaultDB-&gt;<a href="tqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER );
+ defaultDB-&gt;<a href="tqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD );
+ defaultDB-&gt;<a href="tqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST );
- if ( defaultDB-&gt;<a href="ntqsqldatabase.html#open">open</a>() ) {
+ if ( defaultDB-&gt;<a href="tqsqldatabase.html#open">open</a>() ) {
// Database successfully opened; we can now issue SQL commands.
}