-
Notifications
You must be signed in to change notification settings - Fork 1
/
achats.h
48 lines (38 loc) · 887 Bytes
/
achats.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef ACHAT_H
#define ACHAT_H
#include <QString>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include <vector>
#include <QDate>
class achat
{
public:
achat();
achat(QString ,QDate ,int,int ,QString ,QString ,QString ,int );
bool ajouter_achat();
bool modif_achat();
bool supp_achat(int);
QSqlQueryModel * afficher2();
QSqlQueryModel * combobox2();
QSqlQueryModel * combobox3();
QSqlQueryModel * cherchera(int,int,QString,QDate,int);
QSqlQueryModel * triera(int ,int);
QString clicker1(int);
QString clicker2(int);
QString clicker3(int);
QString clicker4(int);
int clicker5(int);
QString clicker6(int);
QDate clicker7(int);
private:
int id_a;
int id_e;
QString nom_c;
QString prenom_c;
QDate date;
QString produit;
int quantite;
QString conf;
};
#endif // ACHAT_H