mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 19:20:59 +08:00
commit
59527fc954
7
example/AppInfo.cpp
Normal file
7
example/AppInfo.cpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#include "AppInfo.h"
|
||||||
|
|
||||||
|
AppInfo::AppInfo(QObject *parent)
|
||||||
|
: QObject{parent}
|
||||||
|
{
|
||||||
|
version("1.2.4");
|
||||||
|
}
|
15
example/AppInfo.h
Normal file
15
example/AppInfo.h
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#ifndef APPINFO_H
|
||||||
|
#define APPINFO_H
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
#include "stdafx.h"
|
||||||
|
|
||||||
|
class AppInfo : public QObject
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
Q_PROPERTY_AUTO(QString,version)
|
||||||
|
public:
|
||||||
|
explicit AppInfo(QObject *parent = nullptr);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // APPINFO_H
|
Loading…
Reference in New Issue
Block a user