diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-17 19:52:50 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-17 19:52:50 +0800 |
commit | 3ac6ebbc5243f2b0ddddcfc58ba81eb686fb5aa2 (patch) | |
tree | 3ec457122cc34f4ecfcfad2a816deeba4aaa4dc4 /controller.cxx | |
parent | acf879ebafaa870fc5ef942effa660a08041557e (diff) |
Sign up functionality
Diffstat (limited to 'controller.cxx')
-rw-r--r-- | controller.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
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<QObject*>("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))); |