Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
|
SystemFileWatcher provides monitoring of files and directories in the local system. More...
Public Member Functions | |
bool | addPath (QString) |
Add a file or directory to watch for changes. More... | |
bool | removePath (QString) |
Stop watching a file or directory for changes. More... | |
void | fileChanged (QString) |
This event is emitted when a file being watched has changed. More... | |
void | directoryChanged (QString) |
This event is emitted when a directory being watched has changed. More... | |
SystemFileWatcher provides monitoring of files and directories in the local system.
bool SystemFileWatcher::addPath | ( | QString | ) |
Add a file or directory to watch for changes.
path,the | full path of the file or directory to watch |
void SystemFileWatcher::directoryChanged | ( | QString | ) |
This event is emitted when a directory being watched has changed.
path,the | full path of the directory |
IPC event.
void SystemFileWatcher::fileChanged | ( | QString | ) |
This event is emitted when a file being watched has changed.
path,the | full path of the file |
IPC event.
bool SystemFileWatcher::removePath | ( | QString | ) |
Stop watching a file or directory for changes.
path,the | full path of the file or directory to stop watching |