src/database/database.h

changeset 6
f8474f2c5db9
parent 3
4b95e33ee476
--- a/src/database/database.h	Fri Feb 11 16:00:06 2022 +0100
+++ b/src/database/database.h	Sat Feb 12 21:24:43 2022 +0100
@@ -13,14 +13,11 @@
 public:
     explicit DataBase(QObject *parent = 0);
     ~DataBase();
-    void connectToDataBase();
-     
+    bool openDataBase(bool develop);
+    void closeDataBase();
+
 private:
     QSqlDatabase    db;
-     
-private:
-    bool openDataBase();        
-    void closeDataBase();       
 };
 
 

mercurial