summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 18:03:18 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 18:03:18 +0800
commit3046c72a604df00cf54982a0985b3a70bdd6d994 (patch)
tree9da308ae86068c61a5c38b91575c607abddddb52
parentcb249baa8d8dcc54dd575f82d5cb3134957c71b5 (diff)
Adjust search ticket term
-rw-r--r--client.cxx4
-rw-r--r--qrtclient/client.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/client.cxx b/client.cxx
index 15d573f..1dba383 100644
--- a/client.cxx
+++ b/client.cxx
@@ -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);
};
}