|
OpenMS
2.6.0
|
Go to the documentation of this file.
44 #include <QtCore/QFileSystemWatcher>
80 delay_in_seconds_ = delay;
86 QFileSystemWatcher::addPath(path.
toQString());
92 QFileSystemWatcher::removePath(path.
toQString());
97 void fileChanged(
const String &);
101 void monitorFileChanged_(
const QString & name);
103 void timerTriggered_();
double delay_in_seconds_
Delay (seconds)
Definition: FileWatcher.h:109
void removeFile(const String &path)
removes a file from the watcher
Definition: FileWatcher.h:90
void addFile(const String &path)
Adds a file to the watcher.
Definition: FileWatcher.h:84
A more convenient string class.
Definition: String.h:59
void setDelayInSeconds(double delay)
Sets the delay in seconds (default: 1s)
Definition: FileWatcher.h:78
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Map< QString, QString > timers_
A map that links timer name and file.
Definition: FileWatcher.h:107
QString toQString() const
Conversion to Qt QString.
Watcher that monitors file changes.
Definition: FileWatcher.h:65