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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.