add const member slot example
slots can be const member functions