docs/filesystem/dtrashmanager.zh_CN.dox
raw| 1 | /*! |
| 2 | @~chinese |
| 3 | @ingroup dfilesystem |
| 4 | @file include/filesystem/dtrashmanager.h |
| 5 | @class DTrashManager |
| 6 | @brief dtk垃圾管理器提供管理文件回收站的功能。 |
| 7 | @details 非常简单的一个类 |
| 8 | |
| 9 | @fn ststic DTrashManager *DTrashManager::instance() |
| 10 | @brief 获取DTrashManager的实例 |
| 11 | |
| 12 | @fn bool DTrashManager::trashIsEmpty() const |
| 13 | @brief 判断回收站是否为空 |
| 14 | |
| 15 | @fn bool DTrashManager::cleanTrash() |
| 16 | @brief 清空回收站 |
| 17 | |
| 18 | @fn bool DTrashManager::moveToTrash(const QString &filePath, bool followSymlink = false) |
| 19 | @brief 将文件移动到回收站 |
| 20 | |
| 21 | */ |