| 132 | } |
| 133 | |
| 134 | void FileTreeItem::setOrigin(int originID, const std::wstring& realPath, Flags flags, |
| 135 | const std::wstring& mod) |
| 136 | { |
| 137 | m_originID = originID; |
| 138 | m_wsRealPath = realPath; |
| 139 | m_realPath = QString::fromStdWString(realPath); |
| 140 | m_flags = flags; |
| 141 | m_mod = QString::fromStdWString(mod); |
| 142 | |
| 143 | m_fileSize.reset(); |
| 144 | m_lastModified.reset(); |
| 145 | m_fileType.reset(); |
| 146 | m_compressedFileSize.reset(); |
| 147 | } |
| 148 | |
| 149 | void FileTreeItem::insert(FileTreeItem::Ptr child, std::size_t at) |
| 150 | { |