PDA

View Full Version : Creating a QAccessibleWidget object for widget



Rakesh_Kumar
27th January 2009, 09:13
Hi,

I need to create a QAccessibleWidget for a QButton. So I am tring to create an accessible widget pointer like below:

QAccessibleWidget* ptc = new QAccessibleWidget (m_pFastBackwardButton);

But usuing the ptc pointer I can not access setValue() of QAccessibleWidget because it's declared as protected.

So Could anyone please tell me how to use setValue() for the required button?

Regards,
Rakesh