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-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);
|
|
|
|
|
}
|