FluentUI/example/src/AppInfo.h
2023-10-10 15:06:44 +08:00

21 lines
376 B
C++

#ifndef APPINFO_H
#define APPINFO_H
#include <QObject>
#include <QQmlApplicationEngine>
#include "stdafx.h"
#include "singleton.h"
class AppInfo : public QObject
{
Q_OBJECT
Q_PROPERTY_AUTO(QString,version)
private:
explicit AppInfo(QObject *parent = nullptr);
public:
SINGLETONG(AppInfo)
void init(QQmlApplicationEngine *engine);
};
#endif // APPINFO_H