summaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 22:32:18 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 22:32:18 +0800
commit47b72e1b1dd45b496f096262c919e8a730ab5a00 (patch)
tree2080f28c06e9417b44536421302533c92cef5d73 /main.qml
parentd7d7deff4f8dd5e2d0ad5982ed1c076abd9e3143 (diff)
Ticket history is ready with subject, description, content, and creator
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml11
1 files changed, 10 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index 83eb694..26010e2 100644
--- a/main.qml
+++ b/main.qml
@@ -4,8 +4,17 @@ import "larva/features"
ApplicationWindow {
signal logIn(string name, string password)
- signal ticketHistory(int id)
+ signal ticketId(int id)
+ signal ticketSubject(string subject)
signal ticketNew(string queue, string requestor)
+ function ticketHistory(subject, description, content, creator) {
+ pageView.push("TicketHistory.qml", {
+ "subject": subject
+ , "description": description
+ , "content": content
+ , "creator": creator
+ })
+ }
id: window
visible: true