11 #include <QMutexLocker>
17 , m_availEvts(availEvts)
18 , m_sourcedir(sourcedir)
61 static unsigned ntmpdlcount = 0;
67 bool changestmplocal(
false), changesad(
false);
68 if (!ad.isEmpty()&&!tmplocal.isEmpty()) {
71 QString
fn =
evt.fileName();
72 QString basefn = QFileInfo(
fn).fileName();
73 QString
target = tmplocal + basefn;
80 if (!QFile::rename(tmptarget,
target)) {
89 changestmplocal =
true;
94 if (ncopied>=nfreshneeded) {
113 if (!
dir.endsWith(
"/"))
123 if (freshevts.isEmpty())
126 QString
fn =
evt.fileName();