Execute Slot in different class

Posted by sijith on Stack Overflow See other posts from Stack Overflow or by sijith
Published on 2010-04-21T09:35:12Z Indexed on 2010/04/21 9:43 UTC
Read the original article Hit count: 200

Filed under:
|
|

Hi, I want to execute a slot in different class. Is it possible

 UI_CDSK Obj;
 connect(Obj.penDrive,SIGNAL(clicked()),this,SLOT( Obj.caller()));

This code is in different class and from this class i want to execute slot of different class(UI_CDSK )

Here penDrive and caller belongs to function UI_CDSK class and the mentioned code is in other class

© Stack Overflow or respective owner

Related posts about qt

Related posts about qt4