diff options
-rw-r--r-- | Login.qml | 3 | ||||
-rw-r--r-- | controller.cxx | 5 | ||||
-rw-r--r-- | pages/CreateProfile.qml | 4 | ||||
m--------- | qrtclient | 0 |
4 files changed, 5 insertions, 7 deletions
@@ -3,8 +3,7 @@ import "larva/features" OnboardingForm { signal logIn(string name, string password) - signal userNew(string name, string password, string emailAddress - , string realName) + signal ticketNew(string queue, string requestor) signal ticketSearch(string name) function pushProfile() { stackView.push("qrc:/pages/Profile.qml") diff --git a/controller.cxx b/controller.cxx index 335834b..d77abfa 100644 --- a/controller.cxx +++ b/controller.cxx @@ -19,9 +19,8 @@ Controller::Controller(QObject* parent) : QObject{parent} , client, SLOT(logIn(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(loginView, SIGNAL(ticketNew(QString, QString)) + , client, SLOT(ticketNew(QString, QString))); connect(loginView, SIGNAL(ticketSearch(QString)) , client, SLOT(ticketSearch(QString))); diff --git a/pages/CreateProfile.qml b/pages/CreateProfile.qml index 93cdb0c..7d499e2 100644 --- a/pages/CreateProfile.qml +++ b/pages/CreateProfile.qml @@ -12,7 +12,7 @@ CreateProfileForm { startUsingKelakon.onClicked: { User.name = userNameLabel.text User.realName = enterFullName.text - login.userNew(User.name, User.password, User.emailAddress - , User.realName) + login.ticketNew("Kelakon", User.realName + " <" + User.emailAddress + + ">") } } diff --git a/qrtclient b/qrtclient -Subproject c134fbf2247625eebaf1b61471c2fa9b08fffe8 +Subproject 0b05904d38acb050ead71ad256d59f70b9c9fe8 |