From dc69eb34ce6cdc8e3b03c174786e111e196449a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 14 Sep 2019 08:36:26 +0800 Subject: Update librtclient function names --- worker.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'worker.cxx') 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); } -- cgit v1.2.3