Mercurial > hg > syntilista
diff main.h @ 4:f2404a9987dc
Cleaning up the code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 30 Mar 2017 12:32:05 +0300 |
parents | edc1e8cf6e2c |
children | a5a3baee3043 |
line wrap: on
line diff
--- a/main.h Thu Mar 30 04:23:53 2017 +0300 +++ b/main.h Thu Mar 30 12:32:05 2017 +0300 @@ -38,6 +38,7 @@ qint64 id; QString firstName, lastName, extraInfo; + QDateTime added, updated; }; @@ -97,7 +98,9 @@ void readSettings(); void saveSettings(); void setActivePerson(qint64 id); - bool addTransaction(bool debt, double value); + bool getPersonInfo(qint64 id, PersonInfo &info); + int addTransaction(qint64 id, double value, PersonInfo &info); + int addTransactionGUI(qint64 id, bool debt, double value); void updatePersonList(); PersonSQLModel *model_People;