QT,类似于管道这东西
比如我,我用qt程序去读取一个.txt文件,当这个文件有改动时就响应,有什么 好的法子?
[解决办法]
QFileSystemWatcher 类
[解决办法]
不过这是在QT4.7
void QFileSystemWatcher::fileChanged ( const QString & path ) [signal]
This signal is emitted when the file at the specified path is modified, renamed or removed from disk.