-
Notifications
You must be signed in to change notification settings - Fork 0
/
staff_technique.h
42 lines (35 loc) · 915 Bytes
/
staff_technique.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
#ifndef STAFF_TECHNIQUE_H
#define STAFF_TECHNIQUE_H
#include <QTableView>
#include <QSqlTableModel>
#include <QSqlRelationalTableModel>
#include <QString>
#include <QSqlQuery>
#include "QFileDialog"
#include "QTextBrowser"
#include <QSqlQueryModel>
class staff_technique
{
public:
staff_technique();
staff_technique(int, QString, QString ,float,QString);
int get_id();
QString get_nom();
QString get_prenom();
float get_salaire();
QString get_spcialite();
bool ajouter();
QSqlQueryModel * afficher();
bool supprimer(int);
bool modifier(int,QString,QString,float,QString);
QSqlQueryModel * rechercher (const QString &aux);
QSqlQueryModel* trie(int index);
QSqlQuery rechercher_id(int id);
QSqlQuery rechercher_num(int id);
QSqlQueryModel * afficher_staff_technique ();
private:
QString nom,prenom,spcialite;
int id;
float salaire;
};
#endif // STAFF_TECHNIQUE_H