Sophie

Sophie

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

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

<class name="QChildEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;QChildEvent.html#QChildEvent(com.trolltech.qt.core.QEvent.Type, com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QChildEvent&lt;/tt&gt;&lt;/a&gt; class contains event parameters for child object events.&lt;/p&gt;
&lt;p&gt;Child events are sent immediately to objects when children are added or removed.&lt;/p&gt;
&lt;p&gt;In both cases you can only rely on the child being a &lt;a href=&quot;QObject.html&quot;&gt;&lt;tt&gt;QObject&lt;/tt&gt;&lt;/a&gt; (or, if QObject::isWidgetType() returns true, a &lt;a href=&quot;%2E%2E/gui/QWidget.html&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt;). This is because in the QEvent::ChildAdded case the child is not yet fully constructed; in the QEvent::ChildRemoved case it might have already been destructed.&lt;/p&gt;
&lt;p&gt;The handler for these events is QObject::childEvent().&lt;/p&gt;
 */">
    <method name="public QChildEvent(com.trolltech.qt.core.QEvent.Type type, com.trolltech.qt.core.QObject child)" doc="/**
&lt;p&gt;Constructs a child event object of a particular &lt;tt&gt;type&lt;/tt&gt; for the &lt;tt&gt;child&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;type&lt;/tt&gt; can be QEvent::ChildAdded, QEvent::ChildRemoved, QEvent::ChildPolished, or QEvent::ChildRemoved.&lt;/p&gt;

@see &lt;a href=&quot;QChildEvent.html#child()&quot;&gt;&lt;tt&gt;child&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean added()" doc="/**
&lt;p&gt;Returns true if &lt;a href=&quot;QEvent.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; is QEvent::ChildAdded; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QObject child()" doc="/**
&lt;p&gt;Returns the child object that was added or removed.&lt;/p&gt;
 */"/>
    <method name="public final boolean polished()" doc="/**
&lt;p&gt;Returns true if &lt;a href=&quot;QEvent.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; is QEvent::ChildPolished; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final boolean removed()" doc="/**
&lt;p&gt;Returns true if &lt;a href=&quot;QEvent.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; is QEvent::ChildRemoved; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="protected final com.trolltech.qt.core.QObject c()"/>
    <method name="protected final void setC(com.trolltech.qt.core.QObject c)"/>
</class>