Property Containers: PropsMap
Review Questions
1. |
What is an anti-pattern? Give two examples. |
2. |
How do you determine the number of properties defined in a QObject? |
3. |
How does the QMetaObject code for each of your QObject-derived classes get generated? |
4. |
What is a downcast? In what situations do we use them? |
5. |
What are the advantages of defining properties over regular getters and setters? |
6. |
What does the property() function return? How do we obtain the actual stored value? |