[PySide] QTimer setter method

31 views
Skip to first unread message

Dhruv Raturi

unread,
Mar 26, 2012, 8:23:51 PM3/26/12
to pys...@lists.pyside.org

Hi all,

 

I am trying to bind a class that has an instance of QTimer, which is a protected member. When run shiboken on it the generated wrapper.h file contains a setter method for this.

 

inline void protected_mTimer_setter(QTimer value) { VitalsPage::mTimer = value; }  //<- this is the generated line of code

 

Since, QTimer::operator= is private, the above line generates a compiletime error. How to fix this?

 

Thanks,

Dhruv

Reply all
Reply to author
Forward
0 new messages