summaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
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