FluentUI/example/src/AppInfo.h

19 lines
331 B
C
Raw Normal View History

2024-04-11 14:51:43 +08:00
#pragma once
2023-04-11 18:05:07 +08:00
#include <QObject>
2023-05-25 17:00:48 +08:00
#include <QQmlApplicationEngine>
2024-07-04 00:23:00 +08:00
2023-09-17 20:36:33 +08:00
#include "singleton.h"
2024-07-04 00:23:00 +08:00
#include "stdafx.h"
2023-04-11 18:05:07 +08:00
2024-04-11 14:51:43 +08:00
class AppInfo : public QObject {
2024-07-04 00:23:00 +08:00
Q_OBJECT
Q_PROPERTY_AUTO(QString, version)
private:
explicit AppInfo(QObject *parent = nullptr);
2024-04-11 14:51:43 +08:00
2024-07-04 00:23:00 +08:00
public:
SINGLETON(AppInfo)
[[maybe_unused]] Q_INVOKABLE void testCrash();
2024-04-11 14:51:43 +08:00
};