создал менеджер донатов
- добавление - удаление - сохранение
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef UDATABASE_H
|
||||
#define UDATABASE_H
|
||||
|
||||
#include "donationmanager.h"
|
||||
#include "qlistwidget.h"
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
@@ -137,6 +138,10 @@ public:
|
||||
QList<ActionData> loadAllActions();
|
||||
bool clearActionsTable();
|
||||
|
||||
bool createDonationTriggersTable();
|
||||
int saveDonationTrigger(const DonationTrigger &trigger);
|
||||
bool deleteDonationTrigger(int id);
|
||||
QList<DonationTrigger> loadAllDonationTriggers();
|
||||
private:
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user