mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
15 lines
448 B
C
15 lines
448 B
C
#ifndef THEME_JSON_UTILS_H
|
|
#define THEME_JSON_UTILS_H
|
|
|
|
#include <QByteArray>
|
|
#include <QJsonDocument>
|
|
#include <QJsonObject>
|
|
#include <QString>
|
|
|
|
bool isThemeHexColorString(const QString &value);
|
|
QJsonObject normalizeThemeJson(const QJsonObject &json);
|
|
QByteArray serializeNormalizedThemeJson(const QJsonObject &json,
|
|
QJsonDocument::JsonFormat format = QJsonDocument::Indented);
|
|
|
|
#endif // THEME_JSON_UTILS_H
|