summaryrefslogtreecommitdiffstats
path: root/examples/sql/overview/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/overview/connection.cpp')
-rw-r--r--examples/sql/overview/connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/sql/overview/connection.cpp b/examples/sql/overview/connection.cpp
index 6afaa53..e096204 100644
--- a/examples/sql/overview/connection.cpp
+++ b/examples/sql/overview/connection.cpp
@@ -18,7 +18,7 @@ bool createConnections()
defaultDB->setPassword( DB_SALES_PASSWD );
defaultDB->setHostName( DB_SALES_HOST );
if ( ! defaultDB->open() ) {
- qWarning( "Failed to open sales database: " + defaultDB->lastError().text() );
+ tqWarning( "Failed to open sales database: " + defaultDB->lastError().text() );
return FALSE;
}
@@ -28,7 +28,7 @@ bool createConnections()
oracle->setPassword( DB_ORDERS_PASSWD );
oracle->setHostName( DB_ORDERS_HOST );
if ( ! oracle->open() ) {
- qWarning( "Failed to open orders database: " + oracle->lastError().text() );
+ tqWarning( "Failed to open orders database: " + oracle->lastError().text() );
return FALSE;
}