Pencil2D Animation
Download Community News Docs Contribute
  • Overview
  • Articles
  • Code
  •  
  • Class List
  • Class Index
  • Class Hierarchy
  • Class Members
  • File List
Loading...
Searching...
No Matches
  • core_lib
  • src
  • util
autosaverbytime.h
1#ifndef AUTOSAVERBYTIME_H
2#define AUTOSAVERBYTIME_H
3
4#include <QObject>
5#include <QTimer>
6#include <QGuiApplication>
7
8#include "preferencemanager.h"
9
10class AutosaverByTime : public QObject
11{
12 Q_OBJECT
13
14public:
15 explicit AutosaverByTime(PreferenceManager*, QObject* parent);
16
17public slots:
18 void configChanged(SETTING);
19 void timerTimeout();
20
21signals:
22 void timeout();
23
24private:
25 void resetTimer();
26
27 PreferenceManager* mPref = nullptr;
28 QTimer mAutoSaveTimer;
29
30};
31
32#endif // AUTOSAVERBYTIME_H
AutosaverByTime
Definition: autosaverbytime.h:11
PreferenceManager
Definition: preferencemanager.h:28
QObject
QObject::Q_OBJECT
Q_OBJECTQ_OBJECT
QObject::parent
QObject * parent() const const
QTimer
Generated on Wed Apr 22 2026 10:46:09 for Pencil2D by doxygen 1.9.6 based on revision 4ec20b203f975d0b0988323847e8bd8d8d8ff31c