summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-14 08:36:26 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-14 08:36:26 +0800
commitdc69eb34ce6cdc8e3b03c174786e111e196449a4 (patch)
tree4ee30f9513ee170871184cab422de2ada3173a61 /worker.cxx
parente721999f09176efe9a9947555095904fafcbaa4f (diff)
Update librtclient function names
Diffstat (limited to 'worker.cxx')
-rw-r--r--worker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker.cxx b/worker.cxx
index 767ee9d..eef27ac 100644
--- a/worker.cxx
+++ b/worker.cxx
@@ -10,7 +10,7 @@ void Worker::logIn(QString const& name, QString const& password)
{
rtclient_login(name.toLatin1().constData(), password.toLatin1().constData());
struct rt_user* user = NULL;
- rtclient_userget(&user, name.toLatin1().constData());
+ rtclient_user_show(&user, name.toLatin1().constData());
if (user) emit logged(user);
}
@@ -20,7 +20,7 @@ void Worker::search(QString const& owner)
query.append(owner);
query.append("'");
rt_ticketlist* taskList = NULL;
- rtclient_ticketssearch(&taskList, query.toLatin1().constData());
+ rtclient_ticket_search(&taskList, query.toLatin1().constData());
if (taskList) emit foundTasks(taskList);
}