Mercurial > hg > syntilista
diff main.h @ 6:0315a3b9f560
Implement person and transaction history deletion.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 30 Mar 2017 15:12:18 +0300 |
parents | a5a3baee3043 |
children | 4e8a960e3975 |
line wrap: on
line diff
--- a/main.h Thu Mar 30 13:50:42 2017 +0300 +++ b/main.h Thu Mar 30 15:12:18 2017 +0300 @@ -109,6 +109,7 @@ int addTransaction(qint64 id, double value, PersonInfo &info); int addTransactionGUI(qint64 id, bool debt, double value); void updatePersonList(); + int deletePerson(qint64 id); PersonSQLModel *model_People; @@ -139,6 +140,8 @@ void updateSortOrder(int index, Qt::SortOrder order); + void on_button_DeletePerson_clicked(); + private: Ui::SyntilistaMainWindow *ui;