Chapter 4.  Lists

Table of Contents

4.1. Introduction to Containers
4.2. Iterators
4.2.1. QStringList and iteration
4.2.2. QDir, QFileInfo, QDirIterator
4.3. Relationships
4.3.1. Relationships Summary
4.4. Exercise: Relationships
4.5. Review Questions

[ fromfile: lists.xml id: lists ]

Abstract

Whenever possible, you should use lists instead of arrays. This chapter introduces containers and discusses various ways of grouping things together in lists, and how to iterate through them.