FluentUI/src/FluRegister.cpp

21 lines
391 B
C++
Raw Normal View History

2023-05-22 16:17:51 +08:00
#include "FluRegister.h"
2023-03-13 21:18:51 +08:00
#include "FluApp.h"
#include <QCoreApplication>
FluRegister::FluRegister(QObject *parent)
: QObject{parent}
{
from(nullptr);
to(nullptr);
path("");
}
void FluRegister::launch(const QJsonObject& argument){
2023-05-11 18:24:58 +08:00
FluApp::getInstance()->navigate(path(),argument,this);
2023-03-13 21:18:51 +08:00
}
void FluRegister::onResult(const QJsonObject& data){
Q_EMIT result(data);
}