Review Questions
-
What does it mean when object A is the parent of object B?
-
What happens to a QObject when it is reparented?
-
Why is the copy constructor of QObject not public?
-
What is the composite pattern?
-
How can QObject be both composite and component?
-
How can you access the children of a QObject?
-
What is an event loop? How is it initiated?
-
What is a signal? How do you call one?
-
What is a slot? How do you call one?
-
How are signals and slots connected?
-
How can information be transmitted from one object to another?
-
Deriving a class from QObject more than once can cause problems. How might that happen accidentally?
-
What is the difference between value types and object types? Give examples.