FactDev  0.1
accessdatabase.h
1 #ifndef ACCESSDATABASE_H
2 #define ACCESSDATABASE_H
3 
4 #include <QString>
5 #include <QSettings>
6 #include <QDebug>
7 
8 namespace Databases {
9 enum DbType {SQLITE, MYSQL};
10 
12 {
13 public:
15  static void init();
16  static void commit();
17 
18  static QString _address;
19  static int _port;
20  static QString _userDb;
21  static QString _password;
22  static QString _dbName;
23  static Databases::DbType _dbType;
24 
25  static bool _exists;
26 
27 };
28 }
29 #endif // ACCESSDATABASE_H
Definition: accessdatabase.h:11