Make getter methods not slots.

Change-Id: I028dbb0b1d1dcffbfee83c6a4cb8f24cac60639d
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>