summaryrefslogtreecommitdiff
path: root/qrtclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-26 21:10:06 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-26 21:10:06 +0800
commit7ef14e5bc66b46113dd50dc5ea62c8fcd8627dbc (patch)
treeb724007fb8b35ff8d7f565fc6433bd0223ff37e1 /qrtclient
parent5cf059304cbae2b0af4a2a8f5ea6196fc01b1588 (diff)
Make the private slots public
Diffstat (limited to 'qrtclient')
-rw-r--r--qrtclient/ticket.hxx6
-rw-r--r--qrtclient/user.hxx6
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;