ChatWindow.h should be the last included header - on its own