Point of Departure

Table of contents:

Review Questions

1.

What does it mean when object A is the parent of object B?

2.

What happens to a QObject when it is reparented?

3.

Why is the copy constructor of QObject not public?

4.

What is the composite pattern?

5.

How can QObject be both composite and component?

6.

How can you access the children of a QObject?

7.

What is an event loop? How is it initiated?

8.

What is a signal? How do you call one?

9.

What is a slot? How do you call one?

10.

How are signals and slots connected?

11.

How can information be transmitted from one object to another?

12.

Deriving a class from QObject more than once can cause problems. How might that happen accidentally?

13.

What is the difference between value types and object types? Give examples.


Part I: Introduction to C++ and Qt 4

C++ Introduction

Classes

Introduction to Qt

Lists

Functions

Inheritance and Polymorphism

Part II: Higher-Level Programming

Libraries

Introduction to Design Patterns

QObject

Generics and Containers

Qt GUI Widgets

Concurrency

Validation and Regular Expressions

Parsing XML

Meta Objects, Properties, and Reflective Programming

More Design Patterns

Models and Views

Qt SQL Classes

Part III: C++ Language Reference

Types and Expressions

Scope and Storage Class

Statements and Control Structures

Memory Access

Chapter Summary

Inheritance in Detail

Miscellaneous Topics

Part IV: Programming Assignments

MP3 Jukebox Assignments

Part V: Appendices

MP3 Jukebox Assignments

Bibliography

MP3 Jukebox Assignments



An Introduction to Design Patterns in C++ with Qt 4
An Introduction to Design Patterns in C++ with Qt 4
ISBN: 0131879057
EAN: 2147483647
Year: 2004
Pages: 268

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net