mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-03-14 16:09:41 +08:00
19 lines
414 B
C++
19 lines
414 B
C++
#include "FluWindowRegister.h"
|
|
|
|
#include "FluApp.h"
|
|
#include <QCoreApplication>
|
|
|
|
FluWindowRegister::FluWindowRegister(QObject *parent):QObject{parent}{
|
|
from(nullptr);
|
|
to(nullptr);
|
|
path("");
|
|
}
|
|
|
|
void FluWindowRegister::launch(const QJsonObject& argument){
|
|
FluApp::getInstance()->navigate(path(),argument,this);
|
|
}
|
|
|
|
void FluWindowRegister::onResult(const QJsonObject& data){
|
|
Q_EMIT result(data);
|
|
}
|