Thank you for that insight Marcel. It saved me a lot of digging.
I take it from your explanation of how it works, that it is not possible to have user specified code as a signal method. As in...
class fiddlestix {
Q_OBJECT
public signals:
void doThisWhenISignal( int foo );
};
fiddlestix::doThisWhenISignal( int foo )
{
foo += 53;
}
class fiddlestix {
Q_OBJECT
public signals:
void doThisWhenISignal( int foo );
};
fiddlestix::doThisWhenISignal( int foo )
{
foo += 53;
}
To copy to clipboard, switch view to plain text mode
In other words, I cannot define a section of code that I wish to be executed every time I emit the signal that does something _before_ Qt starts operating on it?
Bookmarks