FluentUI/src/FluRegister.cpp

21 lines
387 B
C++
Raw Normal View History

2023-03-13 21:18:51 +08:00
#include "FluRegister.h"
#include "FluApp.h"
#include <QCoreApplication>
FluRegister::FluRegister(QObject *parent)
: QObject{parent}
{
from(nullptr);
to(nullptr);
path("");
}
void FluRegister::launch(const QJsonObject& argument){
2023-04-27 09:38:57 +08:00
FluApp::fluApp->navigate(path(),argument,this);
2023-03-13 21:18:51 +08:00
}
void FluRegister::onResult(const QJsonObject& data){
Q_EMIT result(data);
}