Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2304

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QTextBlockUserData" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTextBlockUserData.html#QTextBlockUserData()&quot;&gt;&lt;tt&gt;QTextBlockUserData&lt;/tt&gt;&lt;/a&gt; class is used to associate custom data with blocks of text.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTextBlockUserData.html#QTextBlockUserData()&quot;&gt;&lt;tt&gt;QTextBlockUserData&lt;/tt&gt;&lt;/a&gt; provides an abstract interface for container classes that are used to associate application-specific user data with text blocks in a &lt;a href=&quot;QTextDocument.html&quot;&gt;&lt;tt&gt;QTextDocument&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Generally, 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.&lt;/p&gt;
&lt;p&gt;Each subclass should provide a reimplementation of the destructor to ensure that any private data is automatically cleaned up when user data objects are deleted.&lt;/p&gt;

@see &lt;a href=&quot;QTextBlock.html&quot;&gt;&lt;tt&gt;QTextBlock&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QTextBlockUserData()"/>
</class>