diff options
-rw-r--r-- | qrtclient/ticket.hxx | 6 | ||||
-rw-r--r-- | qrtclient/user.hxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/qrtclient/ticket.hxx b/qrtclient/ticket.hxx index 26e5643..25c067f 100644 --- a/qrtclient/ticket.hxx +++ b/qrtclient/ticket.hxx @@ -43,6 +43,9 @@ namespace RTClient { , int role = Qt::DisplayRole ) const Q_DECL_OVERRIDE; + public slots: + void update(rtclient_ticketlist* ticketList); + protected: QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE; @@ -50,9 +53,6 @@ namespace RTClient { void updated(); void rowCountChanged(); - private slots: - void update(rtclient_ticketlist* ticketList); - private: QList<Ticket> tickets; void addTicket(Ticket const& ticket); diff --git a/qrtclient/user.hxx b/qrtclient/user.hxx index 0d2b6ac..5b692a6 100644 --- a/qrtclient/user.hxx +++ b/qrtclient/user.hxx @@ -120,6 +120,9 @@ namespace RTClient { void setPrivileged(bool privileged); void setDisabled(bool disabled); + public slots: + void update(rtclient_user* user); + signals: void idChanged(); void nameChanged(); @@ -147,9 +150,6 @@ namespace RTClient { void privilegedChanged(); void disabledChanged(); - private slots: - void update(rtclient_user* user); - private: unsigned int m_id; QString m_name; |