mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-26 21:37:04 +08:00
21 lines
376 B
C++
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
|