diff options
Diffstat (limited to 'qrtclient')
-rw-r--r-- | qrtclient/ticket.hxx | 2 | ||||
-rw-r--r-- | qrtclient/tickethistory.hxx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/qrtclient/ticket.hxx b/qrtclient/ticket.hxx index d02954b..44f5a08 100644 --- a/qrtclient/ticket.hxx +++ b/qrtclient/ticket.hxx @@ -45,7 +45,7 @@ namespace RTClient { ) const Q_DECL_OVERRIDE; public slots: - void update(rtclient_search_ticket_list* ticketList); + void update(rtclient_search_ticket_list* list); protected: QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE; diff --git a/qrtclient/tickethistory.hxx b/qrtclient/tickethistory.hxx index 7d68652..2d766f6 100644 --- a/qrtclient/tickethistory.hxx +++ b/qrtclient/tickethistory.hxx @@ -63,6 +63,7 @@ namespace RTClient { class TicketHistoryList : public QAbstractListModel { Q_OBJECT + Q_PROPERTY(int rowCount READ rowCount NOTIFY rowCountChanged) public: enum TicketHistoryRoles { @@ -97,6 +98,7 @@ namespace RTClient { QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE; signals: + void rowCountChanged(); void updated(); private: |