BaseApi: add helpers to manage caller data


Similarly to server configurations, we do not want to use the
m_callerData directly in the derived classes, so add a couple
of protected helper functions.

This commit is a pre-requisite for moving the BaseApi member
variables into a private class.

Found in API review.

Task-number: QTBUG-142312
Pick-to: 6.11
Change-Id: I842820d19031bdb911c809331e1fd73970fd5fdd
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commit3d9d07d59d9491531e3f073851f03e7cd988b64e
parentf122622913005a52dd00ddacae20b90cc81398fd
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeMon, 12 Jan 2026 09:31:54 +0100