diff options
Diffstat (limited to 'kmymoney2/mymoney/storage/mymoneystoragesql.cpp')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneystoragesql.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp index 4995d02..8f6a4f3 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp +++ b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp @@ -79,24 +79,24 @@ bool MyMoneySqlQuery::prepare ( const TQString & query ) { //***************************************************************************** MyMoneyDbDrivers::MyMoneyDbDrivers () { m_driverMap["TQDB2"] = TQString("IBM DB2"); - m_driverMap["TQIBASE"] = TQString("Borland Interbase"); - m_driverMap["TQMYSQL3"] = TQString("MySQL"); - m_driverMap["TQOCI8"] = TQString("Oracle Call Interface, version 8 and 9"); - m_driverMap["TQODBC3"] = TQString("Open Database Connectivity"); - m_driverMap["TQPSQL7"] = TQString("PostgreSQL v6.x and v7.x"); - m_driverMap["TQTDS7"] = TQString("Sybase Adaptive Server and Microsoft SQL Server"); - m_driverMap["TQSQLITE3"] = TQString("SQLite Version 3"); + m_driverMap["QIBASE"] = TQString("Borland Interbase"); + m_driverMap["QMYSQL3"] = TQString("MySQL"); + m_driverMap["QOCI8"] = TQString("Oracle Call Interface, version 8 and 9"); + m_driverMap["QODBC3"] = TQString("Open Database Connectivity"); + m_driverMap["QPSQL7"] = TQString("PostgreSQL v6.x and v7.x"); + m_driverMap["QTDS7"] = TQString("Sybase Adaptive Server and Microsoft SQL Server"); + m_driverMap["QSQLITE3"] = TQString("SQLite Version 3"); } databaseTypeE MyMoneyDbDrivers::driverToType (const TQString& driver) const { if (driver == "TQDB2") return(Db2); - else if (driver == "TQIBASE") return(Interbase); - else if (driver == "TQMYSQL3") return(Mysql); - else if (driver == "TQOCI8") return(Oracle8); - else if (driver == "TQODBC3") return(ODBC3); - else if (driver == "TQPSQL7") return(Postgresql); - else if (driver == "TQTDS7") return(Sybase); - else if (driver == "TQSQLITE3") return(Sqlite3); + else if (driver == "QIBASE") return(Interbase); + else if (driver == "QMYSQL3") return(Mysql); + else if (driver == "QOCI8") return(Oracle8); + else if (driver == "QODBC3") return(ODBC3); + else if (driver == "QPSQL7") return(Postgresql); + else if (driver == "QTDS7") return(Sybase); + else if (driver == "QSQLITE3") return(Sqlite3); else throw new MYMONEYEXCEPTION (TQString("Unknown database driver type").tqarg(driver)); } |