| 251 | } |
| 252 | |
| 253 | QString ChatSerializer::getChatContentFolder(const QString &chatFilePath) |
| 254 | { |
| 255 | QFileInfo fileInfo(chatFilePath); |
| 256 | QString baseName = fileInfo.completeBaseName(); |
| 257 | QString dirPath = fileInfo.absolutePath(); |
| 258 | return QDir(dirPath).filePath(baseName + "_content"); |
| 259 | } |
| 260 | |
| 261 | bool ChatSerializer::saveContentToStorage( |
| 262 | const QString &chatFilePath, |