From 97ea7f4d59f454a7a9b44a44b2513a4a3138c57c 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: Tue, 17 Sep 2019 21:20:34 +0800 Subject: Reorder parameters according to the most commonly used ones --- client.cxx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'client.cxx') diff --git a/client.cxx b/client.cxx index b4c9b97..f462475 100644 --- a/client.cxx +++ b/client.cxx @@ -17,18 +17,10 @@ namespace RTClient { } void Client::userNew(QString const& name + , QString const& password , QString const& emailAddress , QString const& realName , QString const& nickName - , QString const& gecos - , int lang - , int timeZone - , QString const& contactInfo - , bool enabled - , bool privileged - , QString const& password - , QString const& comments - , QString const& signature , QString const& organization , QString const& address1 , QString const& address2 @@ -39,7 +31,15 @@ namespace RTClient { , QString const& homePhone , QString const& workPhone , QString const& mobilePhone - , QString const& pagerPhone) + , QString const& pagerPhone + , QString const& contactInfo + , QString const& comments + , QString const& signature + , QString const& gecos + , int lang + , int timeZone + , bool disabled + , bool privileged) { rtclient_user_new(name.toLatin1().constData() , emailAddress.toLatin1().constData() @@ -49,7 +49,7 @@ namespace RTClient { , static_cast(lang) , static_cast(timeZone) , contactInfo.toLatin1().constData() - , enabled + , disabled , privileged , password.toLatin1().constData() , comments.toLatin1().constData() -- cgit v1.2.3