summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
};
}