From b49d11dd8da38c2113d063de30c9e904a4f2f454 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: Wed, 18 Sep 2019 07:13:08 +0800 Subject: Change RT_ and rt_ to RTCLIENT_ and rtclient_ respectively --- client.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client.cxx') diff --git a/client.cxx b/client.cxx index 3efd103..68bc470 100644 --- a/client.cxx +++ b/client.cxx @@ -11,7 +11,7 @@ namespace RTClient { void Client::logIn(QString const& name, QString const& password) { rtclient_login(name.toLatin1().constData(), password.toLatin1().constData()); - struct rt_user* user = NULL; + rtclient_user* user = NULL; rtclient_user_show(&user, name.toLatin1().constData()); if (user) emit logged(user); } @@ -36,8 +36,8 @@ namespace RTClient { , QString const& comments , QString const& signature , QString const& gecos - , enum rt_lang lang - , enum rt_timezone timeZone + , rtclient_lang lang + , rtclient_timezone timeZone , bool disabled , bool privileged) { @@ -72,7 +72,7 @@ namespace RTClient { QString query{"Owner='"}; query.append(owner); query.append("'"); - rt_ticketlist* ticketList = NULL; + rtclient_ticketlist* ticketList = NULL; rtclient_ticket_search(&ticketList, query.toLatin1().constData()); if (ticketList) emit foundTickets(ticketList); } -- cgit v1.2.3