diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-18 07:26:20 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-18 07:26:20 +0800 |
commit | 0ca6c2c2dcdebc87726a39964dd2a03f5916e0c0 (patch) | |
tree | e0f587174b55ce93a7af652676c5cdffac47314a /controller.cxx | |
parent | 2a7b3e6807c3292a61fff413590e996b6dba83ba (diff) |
Update the ticket search function name
Diffstat (limited to 'controller.cxx')
-rw-r--r-- | controller.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
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<QObject*>("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<User>("KelakonUser", 0, 1, "User" |