Comments
|
CommentsWe should also add some comments. We have three places to attach comments: in a method, on a slot, and on an object.Here are some guidelines as to which to use:
If a slot or object has a comment, then a small button (with a quote mark in it) appears at the left. Click the button to expose the comment; you may edit the comment directly. When you declare a slot to be public, you are invited to enter a comment. When you copy an object you copy the comments too, so don't make the comment applicable to only the prototype!
|