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

QTextBlockUserData Class Reference
[QtGui module]

The QTextBlockUserData class is used to associate custom data with blocks of text. More...

#include <QTextBlockUserData>

This class was introduced in Qt 4.1.

Public Functions


Detailed Description

The QTextBlockUserData class is used to associate custom data with blocks of text.

QTextBlockUserData provides an abstract interface for container classes that are used to associate application-specific user data with text blocks in a QTextDocument.

Generally, this subclasses of this class provide functions to allow data to be stored and retrieved, and instances are attached to blocks of text using QTextBlock::setUserData(). This makes it possible to store additional data per text block in a way that can be retrieved safely by the application.

See also QTextBlock.


Member Function Documentation

QTextBlockUserData::~QTextBlockUserData ()   [virtual]


Copyright © 2005 Trolltech Trademarks
Qt 4.1.0
Hosted by uCoz