status-desktop/storybook/cachecleaner.h

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;
};