comparison src/main.h @ 145:9f3c0a99bcb1

Add display for total number of people on the database.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 25 Aug 2017 01:21:27 +0300
parents 36c9cb759326
children fd960e586678
comparison
equal deleted inserted replaced
144:75a4faa219a9 145:9f3c0a99bcb1
134 void saveSettings(); 134 void saveSettings();
135 void setActivePerson(qint64 id); 135 void setActivePerson(qint64 id);
136 int addTransaction(qint64 id, double value, PersonInfo &info); 136 int addTransaction(qint64 id, double value, PersonInfo &info);
137 int addTransactionGUI(qint64 id, bool debt, double value); 137 int addTransactionGUI(qint64 id, bool debt, double value);
138 void updatePersonList(); 138 void updatePersonList();
139 void updateTotalBalance(); 139 void updateMiscValues();
140 void backupDatabase(); 140 void backupDatabase();
141 141
142 bool printDocumentPage(SLPageInfo &pinfo, const bool getPageInfo, const int page, QPainter *pt, QPrinter *printer); 142 bool printDocumentPage(SLPageInfo &pinfo, const bool getPageInfo, const int page, QPainter *pt, QPrinter *printer);
143 143
144 PersonSQLModel *model_People; 144 PersonSQLModel *model_People;