diff options
Diffstat (limited to 'doc/html/designer-manual-8.html')
-rw-r--r-- | doc/html/designer-manual-8.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/designer-manual-8.html b/doc/html/designer-manual-8.html index 8e455f7..353f092 100644 --- a/doc/html/designer-manual-8.html +++ b/doc/html/designer-manual-8.html @@ -77,7 +77,7 @@ bool createConnections() // create the default database connection QSqlDatabase *defaultDB = QSqlDatabase::addDatabase( "QPSQL7" ); if ( ! defaultDB ) { - tqWarning( "Failed to connect to driver" ); + qWarning( "Failed to connect to driver" ); return FALSE; } defaultDB->setDatabaseName( "book" ); @@ -85,9 +85,9 @@ bool createConnections() defaultDB->setPassword( "bookpw" ); defaultDB->setHostName( "bookhost" ); if ( ! defaultDB->open() ) { - tqWarning( "Failed to open books database: " + + qWarning( "Failed to open books database: " + defaultDB->lastError().driverText() ); - tqWarning( defaultDB->lastError().databaseText() ); + qWarning( defaultDB->lastError().databaseText() ); return FALSE; } |