mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 19:20:59 +08:00
19 lines
355 B
C++
19 lines
355 B
C++
#ifndef APPINFO_H
|
|
#define APPINFO_H
|
|
|
|
#include <QObject>
|
|
#include "lang/Lang.h"
|
|
#include "stdafx.h"
|
|
|
|
class AppInfo : public QObject
|
|
{
|
|
Q_OBJECT
|
|
Q_PROPERTY_AUTO(QString,version)
|
|
Q_PROPERTY_AUTO(Lang*,lang)
|
|
public:
|
|
explicit AppInfo(QObject *parent = nullptr);
|
|
Q_INVOKABLE void changeLang(const QString& locale);
|
|
};
|
|
|
|
#endif // APPINFO_H
|