diff options
Diffstat (limited to 'doc/html/sql-overview-connect1-main-cpp.html')
-rw-r--r-- | doc/html/sql-overview-connect1-main-cpp.html | 14 |
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 <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> +#include <<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>> #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-><a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME ); - defaultDB-><a href="ntqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER ); - defaultDB-><a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD ); - defaultDB-><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-><a href="tqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME ); + defaultDB-><a href="tqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER ); + defaultDB-><a href="tqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD ); + defaultDB-><a href="tqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST ); - if ( defaultDB-><a href="ntqsqldatabase.html#open">open</a>() ) { + if ( defaultDB-><a href="tqsqldatabase.html#open">open</a>() ) { // Database successfully opened; we can now issue SQL commands. } |