DtkCore
DTK Core module
|
Public 成员函数 | |
DFileWatcherManager (QObject *parent=0) | |
DFileWatcher * | add (const QString &filePath) |
为路径filePath 创建 DFileWatcher 并将其添加到 DFileWatcherManager 中. | |
void | remove (const QString &filePath) |
从 DFileWatcherManager 中移除路径filePath 对应的 DFileWatcher. | |
void | removeAll () |
从 DFileWatcherManager 中移除所有的 DFileWatcher. | |
QStringList | watchedFiles () const |
获取 DFileWatcherManager 中所有的 DFileWatcher. | |
额外继承的成员函数 | |
![]() | |
DObject (DObject *parent=nullptr) | |
DObject (DObjectPrivate &dd, DObject *parent=nullptr) | |
![]() | |
QScopedPointer< DObjectPrivate > | d_d_ptr |
DFileWatcher * DFileWatcherManager::add | ( | const QString & | filePath | ) |
为路径filePath
创建 DFileWatcher 并将其添加到 DFileWatcherManager 中.