| Line | |
|---|
| 1 | /****************************************************************************
|
|---|
| 2 | ** $Id: connection.h 2051 2007-02-21 10:04:20Z chehrlic $
|
|---|
| 3 | **
|
|---|
| 4 | ** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
|
|---|
| 5 | **
|
|---|
| 6 | ** This file is part of an example program for Qt. This example
|
|---|
| 7 | ** program may be used, distributed and modified without limitation.
|
|---|
| 8 | **
|
|---|
| 9 | *****************************************************************************/
|
|---|
| 10 |
|
|---|
| 11 | // Enter your connection info here
|
|---|
| 12 |
|
|---|
| 13 | #define DB_SALES_DRIVER "QSQLITE"
|
|---|
| 14 | #define DB_SALES_DBNAME ":memory:"
|
|---|
| 15 | #define DB_SALES_USER ""
|
|---|
| 16 | #define DB_SALES_PASSWD ""
|
|---|
| 17 | #define DB_SALES_HOST ""
|
|---|
| 18 |
|
|---|
| 19 | #define DB_ORDERS_DRIVER "QSQLITE"
|
|---|
| 20 | #define DB_ORDERS_DBNAME ":memory:"
|
|---|
| 21 | #define DB_ORDERS_USER ""
|
|---|
| 22 | #define DB_ORDERS_PASSWD ""
|
|---|
| 23 | #define DB_ORDERS_HOST ""
|
|---|
| 24 |
|
|---|
| 25 | bool createConnections();
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.