Sophie

Sophie

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

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

<class name="QTextBlockGroup" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTextBlockGroup.html#QTextBlockGroup(com.trolltech.qt.gui.QTextDocument)&quot;&gt;&lt;tt&gt;QTextBlockGroup&lt;/tt&gt;&lt;/a&gt; class provides a container for text blocks within 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;Block groups can be used to organize blocks of text within a document. They maintain an up-to-date list of the text blocks that belong to them, even when text blocks are being edited.&lt;/p&gt;
&lt;p&gt;Each group has a parent document which is specified when the group is constructed.&lt;/p&gt;
&lt;p&gt;Text blocks can be inserted into a group with &lt;a href=&quot;QTextBlockGroup.html#blockInserted(com.trolltech.qt.gui.QTextBlock)&quot;&gt;&lt;tt&gt;blockInserted&lt;/tt&gt;&lt;/a&gt;, and removed with &lt;a href=&quot;QTextBlockGroup.html#blockRemoved(com.trolltech.qt.gui.QTextBlock)&quot;&gt;&lt;tt&gt;blockRemoved&lt;/tt&gt;&lt;/a&gt;. If a block's format is changed, &lt;a href=&quot;QTextBlockGroup.html#blockFormatChanged(com.trolltech.qt.gui.QTextBlock)&quot;&gt;&lt;tt&gt;blockFormatChanged&lt;/tt&gt;&lt;/a&gt; is called.&lt;/p&gt;
&lt;p&gt;The list of blocks in the group is returned by &lt;a href=&quot;QTextBlockGroup.html#blockList()&quot;&gt;&lt;tt&gt;blockList&lt;/tt&gt;&lt;/a&gt;. Note that the blocks in the list are not necessarily adjacent elements in the document; for example, the top-level items in a multi-level list will be separated by the items in lower levels of the list.&lt;/p&gt;

@see &lt;a href=&quot;QTextBlock.html&quot;&gt;&lt;tt&gt;QTextBlock&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextDocument.html&quot;&gt;&lt;tt&gt;QTextDocument&lt;/tt&gt;&lt;/a&gt; */">
    <method name="protected QTextBlockGroup(com.trolltech.qt.gui.QTextDocument doc)" doc="/**
&lt;p&gt;Creates a new new block group for the given &lt;tt&gt;doc&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; This function should only be called from QTextDocument::createObject().&lt;/p&gt;
 */"/>
    <method name="protected final java.util.List&lt;com.trolltech.qt.gui.QTextBlock&gt; blockList()" doc="/**
&lt;p&gt;Returns a (possibly empty) list of all the blocks that are part of the block group.&lt;/p&gt;
 */"/>
    <method name="protected void blockFormatChanged(com.trolltech.qt.gui.QTextBlock block)" doc="/**
&lt;p&gt;This function is called whenever the specified &lt;tt&gt;block&lt;/tt&gt; of text is changed. The text block is a member of this group.&lt;/p&gt;
&lt;p&gt;The base class implementation does nothing.&lt;/p&gt;
 */"/>
    <method name="protected void blockInserted(com.trolltech.qt.gui.QTextBlock block)" doc="/**
&lt;p&gt;Appends the given &lt;tt&gt;block&lt;/tt&gt; to the end of the group.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; If you reimplement this function you must call the base class implementation.&lt;/p&gt;
 */"/>
    <method name="protected void blockRemoved(com.trolltech.qt.gui.QTextBlock block)" doc="/**
&lt;p&gt;Removes the given &lt;tt&gt;block&lt;/tt&gt; from the group; the block itself is not deleted, it simply isn't a member of this group anymore.&lt;/p&gt;
 */"/>
</class>