licq: pass signals and events as const pointers