forked from p54670231/Idea
parent
ae1ab071f7
commit
1c1831a6f7
@ -0,0 +1,18 @@
|
||||
#ifndef DATA_BASE_H
|
||||
#define DATA_BASE_H
|
||||
#include <QSqlDatabase>
|
||||
#include <QSqlError>
|
||||
#include <QSqlQuery>
|
||||
#include <QDebug>
|
||||
#include <QVariant>
|
||||
class Data_base
|
||||
{
|
||||
public:
|
||||
void static set_database();
|
||||
void static creat_table();
|
||||
void static delete_table();
|
||||
|
||||
bool static check_user(QString Username,QString Password);
|
||||
};
|
||||
|
||||
#endif // DATA_BASE_H
|
Loading…
Reference in new issue