summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-18 00:50:04 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-18 00:50:04 +0800
commit2ca46c1ba83fe7c9da8b892c0ada1deb4cba356c (patch)
treef68bb6db0a5d2a193c564d0e748963eb6c438c1d
parent8046297127b76e2956f9a0e5b68e026b66c430fc (diff)
Replace remaining task term with ticket
-rw-r--r--client.cxx6
-rw-r--r--qrtclient/client.hxx2
-rw-r--r--qrtclient/ticket.hxx6
3 files changed, 7 insertions, 7 deletions
diff --git a/client.cxx b/client.cxx
index 522acbc..3efd103 100644
--- a/client.cxx
+++ b/client.cxx
@@ -72,9 +72,9 @@ namespace RTClient {
QString query{"Owner='"};
query.append(owner);
query.append("'");
- rt_ticketlist* taskList = NULL;
- rtclient_ticket_search(&taskList, query.toLatin1().constData());
- if (taskList) emit foundTasks(taskList);
+ rt_ticketlist* ticketList = NULL;
+ rtclient_ticket_search(&ticketList, query.toLatin1().constData());
+ if (ticketList) emit foundTickets(ticketList);
}
Client::~Client()
diff --git a/qrtclient/client.hxx b/qrtclient/client.hxx
index 0b96294..452dc9d 100644
--- a/qrtclient/client.hxx
+++ b/qrtclient/client.hxx
@@ -47,7 +47,7 @@ namespace RTClient {
signals:
void logged(struct rt_user* user);
- void foundTasks(struct rt_ticketlist* list);
+ void foundTickets(struct rt_ticketlist* list);
};
}
diff --git a/qrtclient/ticket.hxx b/qrtclient/ticket.hxx
index 0df168b..1e3d1bd 100644
--- a/qrtclient/ticket.hxx
+++ b/qrtclient/ticket.hxx
@@ -42,12 +42,12 @@ namespace RTClient {
signals:
void rowCountChanged();
+ private slots:
+ void addTickets(struct rt_ticketlist* ticketList);
+
private:
QList<Ticket> tickets;
void addTicket(Ticket const& ticket);
-
- private slots:
- void addTickets(struct rt_ticketlist* ticketList);
};
}