21#include <QCoreApplication>
23#define SAVE_DELAY 1000 * 10
33 if (m_timer.isActive()) {
41 if (!m_timer.isActive()) {
46void AutoSaver::timerEvent(QTimerEvent* event)
48 if (event->timerId() == m_timer.timerId()) {
53 QObject::timerEvent(event);
AutoSaver(QObject *parent=nullptr)