Move the hideWindow slot to be public