src/database/database.h

Wed, 17 Aug 2022 15:23:17 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 17 Aug 2022 15:23:17 +0200
changeset 396
c9a1d85c1487
parent 6
f8474f2c5db9
permissions
-rw-r--r--

Show final OG and FG if they are valid on the first tab.

#ifndef _DATABASE_H
#define _DATABASE_H
     
#include <QSqlDatabase>
#include <QDebug>
#include <QSettings>


class DataBase : public QObject
{
    Q_OBJECT

public:
    explicit DataBase(QObject *parent = 0);
    ~DataBase();
    bool openDataBase(bool develop);
    void closeDataBase();

private:
    QSqlDatabase    db;
};


static DataBase *db;


#endif

mercurial