diff options
m--------- | librtclient | 0 | ||||
-rw-r--r-- | tasklist.cxx | 2 | ||||
-rw-r--r-- | user.cxx | 2 | ||||
-rw-r--r-- | worker.cxx | 4 |
4 files changed, 4 insertions, 4 deletions
diff --git a/librtclient b/librtclient -Subproject 4ccd288909c6a9f1fe47ae72744ffba6f0ef410 +Subproject f36fd455104fcaa083fd1ea2186e65ec0350f20 diff --git a/tasklist.cxx b/tasklist.cxx index fd7e4b5..f864eeb 100644 --- a/tasklist.cxx +++ b/tasklist.cxx @@ -41,5 +41,5 @@ void TaskList::addTasks(rt_ticketlist* taskList) { for (unsigned int i = 0; i < taskList->length; i++) addTask(Task{taskList->tickets[i]}); - rtclient_ticketsfree(taskList); + rtclient_ticket_freelist(taskList); } @@ -194,7 +194,7 @@ void User::update(rt_user* user) m_privileged = user->privileged; m_disabled = user->disabled; m_loggedIn = true; - rtclient_userfree(user); + rtclient_user_free(user); } else { m_id = ""; m_name = ""; @@ -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); } |