Qt 4.0: Implicitly Shared Classes

|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# Implicitly Shared Classes

These classes are normally-heavy classes which in Qt have been optimized by the use of reference counter and common data so they can be passed around.

The only important effect is that the classes listed here can be passed around as arguments efficiently, even though they may seem heavyweight.

QBitArray | Array of bits
QBrush | Defines the fill pattern of shapes drawn by a QPainter
QByteArray | Array of bytes
QCache | Template class that provides a cache
QCursor | Mouse cursor with an arbitrary shape
QFont | Font used for drawing text
QFontInfo | General information about fonts
QFontMetrics | Font metrics information
QFontMetricsF | Font metrics information
QHash | Template class that provides a hash-table-based dictionary
QIcon | Scalable icons in different modes and states
QImage | Hardware-independent pixmap that allows direct access to the pixel data, and can be used as a paint device
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
QPalette | Color groups for each widget state
QPen | Defines how a QPainter should draw lines and outlines of shapes
QPicture | Paint device that records and replays QPainter commands
QPixmap | Off-screen, pixel-based paint device
QPolygon | Vector of points
QPolygonF | Vector of floating point points
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
QVector | Template class that provides a dynamic array