9 const char BACKUPDATEFORMAT
[] = "ddMMyyyyhhmmss";
14 static const int m_nCyclicBackups
= 5;
15 static const char m_format
[14];
16 QMap
<QString
, QMap
<QDateTime
, QString
> > m_cyclicBackups
;
20 void doCyclicBackup();
28 Hit(const QString
& t
="", const QString
& st
="", int d
=0)
32 QString task
, subtask
;
35 QMap
<QDateTime
, Hit
> foundPieces
; // to be merged
36 QMap
<QDateTime
, Hit
> addedPieces
; // to be removed
37 QDateTime lastTimeStamp
;
38 QList
<QString
> foundFiles
;
39 QList
<QString
> addedFiles
;
42 // write a piece to file
43 void writePiece(const QString
& task
, const QString
& subTask
, const QDateTime
& now
, int value
);
44 // add a piece to the list of found pieces
45 void addPiece(const QString
& task
, const QString
& subTask
, const QDateTime
& now
, int value
);
46 void clearAddedPieces();
47 void clearMergedPieces();