[PyQt] Subclassing a Qt non-QObject class

Wallboy wallboy at wallboy.ca
Fri May 10 10:53:28 BST 2019


Interesting. I wish I remembered all the details of the C++ rules about when
objects are copied when I worked with the language some ~10 years ago. 

I looked at the source for the QNetworkCookieJar on the methods where
cookies get added, and did not see where a copy of the QNetworkCookie is
happening. Is there an implicit copy happening? Isn't passing by const
reference supposed to avoid copying?



--
Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html


More information about the PyQt mailing list