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.
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
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
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.
Thanks, that is what I am looking for.
Sometimes I really wonder...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.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks