From 3ac6ebbc5243f2b0ddddcfc58ba81eb686fb5aa2 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: Tue, 17 Sep 2019 19:52:50 +0800 Subject: Sign up functionality --- controller.cxx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'controller.cxx') diff --git a/controller.cxx b/controller.cxx index 26ac9d0..96a1d8f 100644 --- a/controller.cxx +++ b/controller.cxx @@ -15,8 +15,20 @@ Controller::Controller(QObject* parent) : QObject{parent} auto appWindow = rootObjects[0]; auto loginView = appWindow->findChild("login"); - connect(loginView, SIGNAL(logIn(QString, QString)), - client, SLOT(logIn(QString, QString))); + connect(loginView, SIGNAL(logIn(QString, QString)) + , client, SLOT(logIn(QString, QString))); + connect(loginView, SIGNAL(signUp(QString, QString, QString, QString + , QString, int, int + , QString, bool, bool, QString, QString + , QString, QString, QString, QString + , QString, QString, QString, QString + , QString, QString, QString, QString)) + , client, SLOT(userNew(QString, QString, QString, QString + , QString, int, int + , QString, bool, bool, QString, QString + , QString, QString, QString, QString + , QString, QString, QString, QString + , QString, QString, QString, QString))); connect(client, SIGNAL(logged(rt_user*)), loginView, SLOT(pushProfile())); connect(loginView, SIGNAL(search(QString)), client, SLOT(search(QString))); -- cgit v1.2.3