diff options
Diffstat (limited to 'src/autosaver.h')
-rw-r--r-- | src/autosaver.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/autosaver.h b/src/autosaver.h index 8931da13..e0de8ea5 100644 --- a/src/autosaver.h +++ b/src/autosaver.h @@ -23,13 +23,21 @@ #ifndef AUTOSAVER_H #define AUTOSAVER_H -#include <QtCore> +// Qt Includes +#include <QtCore/QObject> +#include <QtCore/QBasicTimer> +#include <QtCore/QTime> + +// Forward Declarations +#include <QtCore/QTimerEvent> + +/** + * This class will call the save() slot on the parent object when the parent changes. + * It will wait several seconds after changed() to combining multiple changes and + * prevent continuous writing to disk. + * + */ -/* - This class will call the save() slot on the parent object when the parent changes. - It will wait several seconds after changed() to combining multiple changes and - prevent continuous writing to disk. - */ class AutoSaver : public QObject { Q_OBJECT |