How to use custom functions in QT4 for slots
<p>Currently I'm working on a class project where I'm making an asteroids game, and what I'm trying to figure out is how to use a custom function for a slot so when an Open QAction in a QMenu is clicked, that function is called. From what I understand, writing your own custom functions isn't possible, but is it possible to overload another function such as AboutQT to do what I want it to do? I am able to use the quit() function in there with this line for my Close QAction:</p>

<p>connect(closeSubAction, SIGNAL(triggered()), qApp, SLOT(quit()));</p>

<p>but I want to make one where quit() can be replaced by another function or make a predefined function do something different.</p>
