Mercurial > dedupe
comparison TestDataBase.hpp @ 77:a827f3687c4a
Compile fix Linux, wrong capitalization.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Sat, 16 Feb 2013 19:00:54 +0100 |
| parents | TestDatabase.hpp@8136057988bc |
| children | 9744ec195be3 |
comparison
equal
deleted
inserted
replaced
| 76:8136057988bc | 77:a827f3687c4a |
|---|---|
| 1 #ifndef TESTDATABASE_HPP | |
| 2 #define TESTDATABASE_HPP | |
| 3 | |
| 4 #include <QtSql/QSqlDatabase> | |
| 5 | |
| 6 class TestDatabase | |
| 7 { | |
| 8 public: | |
| 9 QSqlDatabase getDatabase(); | |
| 10 TestDatabase(); | |
| 11 ~TestDatabase(); | |
| 12 | |
| 13 private: | |
| 14 const QString connectionName; | |
| 15 QSqlDatabase *db; | |
| 16 }; | |
| 17 | |
| 18 #endif //TESTDATABASE_HPP |
