comparison src/main.h @ 237:54ab3f3e28c0

Split EditPerson and ViewTransactions to separate source files.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 07 May 2018 19:19:13 +0300
parents c3f47d489097
children 9626307f3eeb
comparison
equal deleted inserted replaced
236:2e0fcb3d0b95 237:54ab3f3e28c0
88 void slLog(const QString &mtype, const QString &msg); 88 void slLog(const QString &mtype, const QString &msg);
89 int slErrorMsg(const QString &title, const QString &msg); 89 int slErrorMsg(const QString &title, const QString &msg);
90 bool slCheckAndReportSQLError(const QString where, const QSqlError &err, bool report = false); 90 bool slCheckAndReportSQLError(const QString where, const QSqlError &err, bool report = false);
91 91
92 void slGetPersonInfoRec(QSqlQuery &query, SLPersonInfo &info); 92 void slGetPersonInfoRec(QSqlQuery &query, SLPersonInfo &info);
93 bool slGetPersonInfo(qint64 id, SLPersonInfo &info);
94 void slSetCommonStyleSheet(QWidget *widget);
93 95
94 96
95 // 97 //
96 // Custom SQL models 98 // Custom SQL models
97 // 99 //