This commit is contained in:
zhuzichu
2023-09-13 15:11:22 +08:00
parent 79a7c97fe8
commit b2471bcf0d
33 changed files with 155 additions and 305 deletions

View File

@ -5,6 +5,7 @@
#include <QtQml/qqml.h>
#include "FluColorSet.h"
#include "stdafx.h"
#include "singleton.h"
/**
* @brief The FluColors class
@ -49,13 +50,9 @@ class FluColors : public QObject
QML_SINGLETON
private:
explicit FluColors(QObject *parent = nullptr);
static FluColors* m_instance;
public:
static FluColors *getInstance();
static FluColors *create(QQmlEngine *qmlEngine, QJSEngine *jsEngine)
{
return getInstance();
}
SINGLETONG(FluColors)
static FluColors *create(QQmlEngine *qmlEngine, QJSEngine *jsEngine){return getInstance();}
};
#endif // FLUCOLORS_H