summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------librtclient0
-rw-r--r--tasklist.cxx2
-rw-r--r--user.cxx2
-rw-r--r--worker.cxx4
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);
}
diff --git a/user.cxx b/user.cxx
index 84ef4f1..40c1818 100644
--- a/user.cxx
+++ b/user.cxx
@@ -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 = "";
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);
}