src/database/db_product.h

changeset 248
1a7a5dffba58
equal deleted inserted replaced
247:a789ceedfe0c 248:1a7a5dffba58
1 #ifndef _DB_PRODUCT_H
2 #define _DB_PRODUCT_H
3
4 #include <QDebug>
5 #include <QMessageBox>
6 #include <QUuid>
7 #include <QJsonArray>
8 #include <QJsonDocument>
9 #include <QJsonObject>
10 #include <QTranslator>
11 #include <QSqlQuery>
12 #include <QSqlError>
13 #include <QSqlRecord>
14 #include <QObject>
15 #include <math.h>
16
17
18 /**
19 * @namespace db_product
20 *
21 * @brief Global database product functions..
22 */
23 namespace DB_product {
24
25 bool load(Product *prod, QDialog *dialog, int recno);
26 bool save(Product *prod, QDialog *dialog);
27 bool dele(QDialog *dialog, int recno);
28 }
29
30 #endif

mercurial