22 lines
556 B
Plaintext
22 lines
556 B
Plaintext
/*!
|
|
@~chinese
|
|
@ingroup dfilesystem
|
|
@file include/filesystem/dtrashmanager.h
|
|
@class DTrashManager
|
|
@brief dtk垃圾管理器提供管理文件回收站的功能。
|
|
@details 非常简单的一个类
|
|
|
|
@fn ststic DTrashManager *DTrashManager::instance()
|
|
@brief 获取DTrashManager的实例
|
|
|
|
@fn bool DTrashManager::trashIsEmpty() const
|
|
@brief 判断回收站是否为空
|
|
|
|
@fn bool DTrashManager::cleanTrash()
|
|
@brief 清空回收站
|
|
|
|
@fn bool DTrashManager::moveToTrash(const QString &filePath, bool followSymlink = false)
|
|
@brief 将文件移动到回收站
|
|
|
|
*/
|