ServerVariable: refactor getters


* Remove the "get" prefix, because it's not a Qt-ish naming style.
* Make the getters const.
* Add the missing description() getter.
* Make the member variables private, so that the getters actually
  make sense.
* Adjust the ServerConfiguration code accordingly.

Ideally we need to put member variables into a d_ptr and move them
to a cpp file, so that we could maintain BC and SC, but that is
left for a separate patch.

Pick-to: 6.11
Change-Id: Id31586a2bc75bd49dee2d939c376e60058f00536
Reviewed-by: Rym Bouabid <rym.bouabid@qt.io>
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commit6726b7e44984523f0547a257498e90a125f37087
parent38ba3b26a1a437b6c1f966e6910ad3ef1cc0ded9
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeThu, 11 Dec 2025 17:13:11 +0100