diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-14 08:36:26 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-14 08:36:26 +0800 |
commit | dc69eb34ce6cdc8e3b03c174786e111e196449a4 (patch) | |
tree | 4ee30f9513ee170871184cab422de2ada3173a61 /worker.cxx | |
parent | e721999f09176efe9a9947555095904fafcbaa4f (diff) |
Update librtclient function names
Diffstat (limited to 'worker.cxx')
-rw-r--r-- | worker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |