mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
* seed for random numbers per thread * added function to get all user metatypes as string * added new read file function per path/name * removed DBus operators for pixmap * JSON operators for byte array * util function for JSON string
This commit is contained in:
committed by
Mathew Sutcliffe
parent
19df8a5d71
commit
a725ce2181
@@ -36,6 +36,11 @@ namespace BlackMisc
|
||||
return content;
|
||||
}
|
||||
|
||||
QString CFileUtils::readFileToString(const QString &filePath, const QString &fileName)
|
||||
{
|
||||
return readFileToString(appendFilePaths(filePath, fileName));
|
||||
}
|
||||
|
||||
bool CFileUtils::writeStringToFileInBackground(const QString &content, const QString &fileNameAndPath)
|
||||
{
|
||||
if (fileNameAndPath.isEmpty()) { return false; }
|
||||
|
||||
Reference in New Issue
Block a user