WUT_Computer_Science/EGUI/lab1/universalFunctions.h

14 lines
445 B
C
Raw Normal View History

2022-04-06 14:30:57 +02:00
#ifndef UNIVERSALFUNCTIONS_H
#define UNIVERSALFUNCTIONS_H
#include <QJsonObject>
QJsonObject readJsonFile(const QString title);
void saveJsonFile(QJsonObject &users, const QString name);
void outputMessageBox(const QString messageBoxText);
void exit();
2022-04-06 16:31:31 +02:00
bool stringEmpty(const QString &string, const QString &messageBoxMessage);
bool idExists(const QString &id, const QJsonObject &json, const QString &message);
2022-04-06 14:30:57 +02:00
#endif // UNIVERSALFUNCTIONS_H