I want to make my own class that has Implicit Sharing. I could not seem to find an example. Can someone give me a quick example or point me to a good one?
Thanks.
Printable View
I want to make my own class that has Implicit Sharing. I could not seem to find an example. Can someone give me a quick example or point me to a good one?
Thanks.
Why not first start with the docs?
http://doc.qt.nokia.com/4.7-snapshot...t-sharing.html
I saw this, not what I am looking for.
I am looking for an example of how to write a class that has Implicit Sharing.
The example is here: QSharedDataPointer.
Thanks, that is what I am looking for.
Sometimes I really wonder...Quote:
I am looking for an example of how to write a class that has Implicit Sharing.
The link I gave you explains how to write shared classes with Qt (or rather is the first steps to that) - isn't that the reason you are looking for an example? to see how this is done?
If you had at least skimmed through the first paragraph on the link I gave you, you would have come to the link wysota posted. :rolleyes: