Classes

This chapter provides an introduction to classes and objects, and how member functions operate on objects. UML is introduced. static and const members are explained. Constructors, destructors, copy operations, and friends are discussed.

2.1

Structs

48

2.2

Class Definitions

49

2.3

Member Access Specifiers

51

2.4

Encapsulation

54

2.5

Introduction to UML

54

2.6

Friends of a Class

55

2.7

Constructors

56

2.8

Subobjects

58

2.9

Destructors

60

2.10

The Keyword static

61

2.11

Copy Constructors and Assignment Operators

64

2.12

Conversions

67

2.13

const Member Functions

68


Structs

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

Similar book on Amazon

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