1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef SHORTCUTUTIL_H
6#define SHORTCUTUTIL_H
7
8#include <QObject>
9
10class ShortcutUtil final: public QObject
11{
12 Q_OBJECT
13public:
14 static bool readFromJson(const QString &qsFilePath, QMap<QString, QStringList> &mapShortcutItem);
15 static bool writeToJson(const QString &qsFilePath, const QMap<QString, QStringList> &mapShortcutItem);
16signals:
17
18private:
19 ShortcutUtil(QObject *parent = nullptr);
20 virtual ~ShortcutUtil();
21};
22
23#endif // SHORTCUTUTIL_H
24