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>