Mercurial > hg > syntilista
diff src/main.h @ 246:43a5e09bb832
Split some utility functions to util.{h,cpp}
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 08 May 2018 13:14:29 +0300 |
parents | ea85ff97a01c |
children | cfaf03d8d23e |
line wrap: on
line diff
--- a/src/main.h Tue May 08 00:44:17 2018 +0300 +++ b/src/main.h Tue May 08 13:14:29 2018 +0300 @@ -113,17 +113,6 @@ // // Global functions // -double slMoneyStrToValue(const QString &str); -QString slMoneyValueToStr(double val); -QString slMoneyValueToStrSign(double val); -QString slCleanupStr(const QString &str); -const QDateTime slDateTimeToLocal(const QDateTime &val); -const QString slDateTimeToStr(const QDateTime &val); - -void slLog(const QString &mtype, const QString &msg); -int slErrorMsg(const QString &title, const QString &msg); -bool slCheckAndReportSQLError(const QString where, const QSqlError &err, bool report = false); - void slGetPersonInfoRec(QSqlQuery &query, SLPersonInfo &info); bool slGetPersonInfo(qint64 id, SLPersonInfo &info); void slSetCommonStyleSheet(QWidget *widget);