summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qrtclient/tickethistory.hxx2
1 files changed, 2 insertions, 0 deletions
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: