From 0ca6c2c2dcdebc87726a39964dd2a03f5916e0c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Wed, 18 Sep 2019 07:26:20 +0800 Subject: Update the ticket search function name --- controller.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'controller.cxx') diff --git a/controller.cxx b/controller.cxx index cdd71cd..335834b 100644 --- a/controller.cxx +++ b/controller.cxx @@ -17,11 +17,13 @@ Controller::Controller(QObject* parent) : QObject{parent} auto loginView = appWindow->findChild("login"); connect(loginView, SIGNAL(logIn(QString, QString)) , client, SLOT(logIn(QString, QString))); - connect(loginView, SIGNAL(signUp(QString, QString, QString, QString)) + connect(client, SIGNAL(logged(rtclient_user*)) + , loginView, SLOT(pushProfile())); + connect(loginView, SIGNAL(userNew(QString, QString, QString, QString)) , client, SLOT(userNew(QString, QString, QString , QString))); - connect(client, SIGNAL(logged(rtclient_user*)), loginView, SLOT(pushProfile())); - connect(loginView, SIGNAL(search(QString)), client, SLOT(search(QString))); + connect(loginView, SIGNAL(ticketSearch(QString)) + , client, SLOT(ticketSearch(QString))); using RTClient::User; auto typeId = qmlRegisterSingletonType("KelakonUser", 0, 1, "User" -- cgit v1.2.3