more unfinished changes, process tab for dashboard
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <qobject.h>
|
||||
|
||||
namespace ZShell::settings {
|
||||
|
||||
class ChangeBatcher : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ChangeBatcher(QObject* parent = nullptr);
|
||||
|
||||
void dirty();
|
||||
|
||||
signals:
|
||||
void dirtied();
|
||||
|
||||
private:
|
||||
bool m_dirty;
|
||||
|
||||
void flush();
|
||||
};
|
||||
|
||||
} // namespace ZShell::settings
|
||||
Reference in New Issue
Block a user