Re: Subclassing a Qt non-QObject class
Phil Thompson <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
On 10/05/2019 10:53, Wallboy wrote: > 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? An assignment is a copy. Phil _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt