diff options
-rw-r--r-- | client.cxx | 4 | ||||
-rw-r--r-- | qrtclient/client.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -113,12 +113,12 @@ namespace RTClient { , text.toLatin1().constData()); } - void Client::ticketSearch(QString const& owner) + void Client::searchTicket(QString const& owner) { QString query{"Owner='" % owner % "'"}; rtclient_search_ticket_list* ticketList = nullptr; rtclient_search_ticket(&ticketList, query.toLatin1().constData()); - emit ticketSearched(ticketList); + emit searchedTicket(ticketList); } void Client::ticketHistory(int id) diff --git a/qrtclient/client.hxx b/qrtclient/client.hxx index 99ded5e..809a508 100644 --- a/qrtclient/client.hxx +++ b/qrtclient/client.hxx @@ -61,13 +61,13 @@ namespace RTClient { , QString const& starts = nullptr , QString const& due = nullptr , QString const& text = nullptr); - void ticketSearch(QString const& owner); + void searchTicket(QString const& owner); void ticketHistory(int id); signals: void loggedIn(QString const& name); void userShown(rtclient_user* user); - void ticketSearched(rtclient_search_ticket_list* list); + void searchedTicket(rtclient_search_ticket_list* list); }; } |