diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-20 09:59:01 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-20 09:59:01 +0800 |
commit | 6a5a3ba58a94b1eb4ce53ea89a54e21c53c65561 (patch) | |
tree | a62e1da7978c09c4c447f6ec9eccb9a3463a4964 | |
parent | 10c50e5280e00caf7d6e75fb699e40b16735e224 (diff) |
Ticket updated signal
-rw-r--r-- | qrtclient/ticket.hxx | 1 | ||||
-rw-r--r-- | ticket.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qrtclient/ticket.hxx b/qrtclient/ticket.hxx index aa3d7ef..2ad8008 100644 --- a/qrtclient/ticket.hxx +++ b/qrtclient/ticket.hxx @@ -40,6 +40,7 @@ namespace RTClient { QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE; signals: + void updated(); void rowCountChanged(); private slots: @@ -44,6 +44,7 @@ namespace RTClient { for (unsigned int i = 0; i < ticketList->length; i++) addTicket(Ticket{ticketList->tickets[i]}); rtclient_ticket_freelist(ticketList); + emit updated(); } } |