[PySide] QTimer setter method

Dhruv Raturi DRaturi at teslamotors.com
Tue Mar 27 02:23:51 CEST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120326/97a1dacd/attachment.html>


More information about the PySide mailing list