Brief description of class still missing. More...
#include <KephrenFtpWatcher.h>
Signals | |
| void | fileCreated (const QString &path) |
Public Member Functions | |
| KephrenFtpWatcher (QObject *parent=0) | |
| void | setInitialWatchDelay (int secs) |
| void | setPath (const QString &path) |
| ~KephrenFtpWatcher () | |
Brief description of class still missing.
Full description of class still missing
| KephrenFtpWatcher::KephrenFtpWatcher | ( | QObject * | parent = 0 | ) |
| void KephrenFtpWatcher::fileCreated | ( | const QString & | path | ) | [signal] |
| void KephrenFtpWatcher::setInitialWatchDelay | ( | int | secs | ) | [inline] |
Referenced by TitanProcess::setInitialWatchDelay().
{_watchDelay.setInterval(secs*1000);}
| void KephrenFtpWatcher::setPath | ( | const QString & | path | ) |
References TRACE.
Referenced by TitanProcess::setSourcePath().
{
TRACE;
_baseDir.setPath(path);
_watchDelay.start();
_currentDir.setPath(_baseDir.absoluteFilePath(QDateTime::currentDateTime().toString("yyyy.MM.dd")));
setNextDir();
scan(_currentDir, _currentFiles);
scan(_nextDir, _nextFiles);
}