summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Login.qml3
-rw-r--r--controller.cxx5
-rw-r--r--pages/CreateProfile.qml4
m---------qrtclient0
4 files changed, 5 insertions, 7 deletions
diff --git a/Login.qml b/Login.qml
index 14dc174..67e4942 100644
--- a/Login.qml
+++ b/Login.qml
@@ -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