Hi,
I want to execute the slot of different class. When i execute this code its compiling without any error but not getting Output
pendrive1::pendrive1()
{
UI_CDBurn Obj;
connect( Obj.penDrive, SIGNAL(clicked()),&Obj , SLOT(caller()));
}
Here my slot is not working. Slot in UI_CDBurn is public. But when i called with a button in pendrive1 class its working fine
UI_CDBurn *Obj=new UI_CDBurn;
connect( ui.pushButton, SIGNAL(clicked()),Obj , SLOT( caller())); // Working File