status-desktop/storybook/cachecleaner.h
2022-10-20 20:34:35 +02:00

17 lines
246 B
C++

#pragma once
#include <QObject>
class QQmlEngine;
class CacheCleaner : public QObject
{
Q_OBJECT
public:
explicit CacheCleaner(QQmlEngine* engine);
Q_INVOKABLE void clearComponentCache() const;
private:
QQmlEngine* engine;
};