Using MVC, I have several view classes, all of which need to write to an event log. The event log contains a slot called addEntry which writes the data to the log. I'm struggling with how to implement the signals. I don't want to have to pass the event log object into every class. So do I...
1) create local signals in each class, and let my main window connect them all? 2) can I make the slot static so all views can access it without needing the event log object? 3) create one signal and pass it as a function pointer into each class so they can all use the same signal? 4) something else?
Thanks.