Hi,

I am trying to map signal slot using QSignalMapper. The object I pass to the signalmapper is publicly derived from both QPushButton and CTest (CTest is not derived from any other class). CTest has only one int variable.
so the declaration of my class will be

class CClassy : public QPushButton,public CTest
{
}

Now when I set the signal slot using signalmapper and pass the object of CClassy, it doesn't work. But if I pass an object of QPushButton, the same setup works fine.

Is it because of Multiple inheritance?

Thanks