diff options
-rw-r--r-- | client.cxx | 6 | ||||
-rw-r--r-- | qrtclient/client.hxx | 2 | ||||
-rw-r--r-- | qrtclient/ticket.hxx | 6 |
3 files changed, 7 insertions, 7 deletions
@@ -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); }; } |