Qt Reference Documentation

Non-GUI Classes

The non-GUI classes are general-purpose collection and string classes that may be used independently of the GUI classes.

In particular, these classes do not depend on QApplication at all, and so can be used in non-GUI programs.

QBitArray

Array of bits

QByteArray

Array of bytes

QByteArrayMatcher

Holds a sequence of bytes that can be quickly matched in a byte array

QCache

Template class that provides a cache

QContiguousCache

Template class that provides a contiguous cache

QCryptographicHash

Way to generate cryptographic hashes

QElapsedTimer

Fast way to calculate elapsed times

QFlags

Type-safe way of storing OR-combinations of enum values

QHash

Template class that provides a hash-table-based dictionary

QLinkedList

Template class that provides linked lists

QList

Template class that provides lists

QMap

Template class that provides a skip-list-based dictionary

QMultiHash

Convenience QHash subclass that provides multi-valued hashes

QMultiMap

Convenience QMap subclass that provides multi-valued maps

QPair

Template class that stores a pair of items

QQueue

Generic container that provides a queue

QRegExp

Pattern matching using regular expressions

QSet

Template class that provides a hash-table-based set

QStack

Template class that provides a stack

QString

Unicode character string

QStringList

List of strings

QStringMatcher

Holds a sequence of characters that can be quickly matched in a Unicode string

QStringRef

Thin wrapper around QString substrings

QTextBoundaryFinder

Way of finding Unicode text boundaries in a string

QVarLengthArray

Low-level variable-length array

QVector

Template class that provides a dynamic array