This commit is contained in:
zhuzihcu
2023-05-12 19:26:49 +08:00
parent 0c19164c54
commit e1c6c04013
17 changed files with 129 additions and 54 deletions

View File

@ -2,6 +2,7 @@
#define FLUTOOLS_H
#include <QObject>
#include <QFile>
#include <QtQml/qqml.h>
/**
@ -34,6 +35,13 @@ public:
*/
Q_INVOKABLE QString uuid();
/**
* @brief readFile 读取文件内容
* @param fileName
* @return
*/
Q_INVOKABLE QString readFile(const QString &fileName);
};
#endif // FLUTOOLS_H