Ch2 of Intro to Design Patterns with Qt and C++