Sophie

Sophie

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

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

<class name="QAccessibleEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;QAccessibleEvent.html#QAccessibleEvent(com.trolltech.qt.core.QEvent.Type, int)&quot;&gt;&lt;tt&gt;QAccessibleEvent&lt;/tt&gt;&lt;/a&gt; class is used to query addition accessibility information about complex widgets.&lt;/p&gt;
&lt;p&gt;The event can be of type QEvent::AccessibilityDescription or QEvent::AccessibilityHelp.&lt;/p&gt;
&lt;p&gt;Some &lt;a href=&quot;QAccessibleInterface.html&quot;&gt;&lt;tt&gt;QAccessibleInterface&lt;/tt&gt;&lt;/a&gt; implementations send QAccessibleEvents to the widget they wrap to obtain the description or help text of a widget or of its children. The widget can answer by calling &lt;a href=&quot;QAccessibleEvent.html#setValue(java.lang.String)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt; with the requested information.&lt;/p&gt;
&lt;p&gt;The default QWidget::event() implementation simply sets the text to be the widget's tooltip&lt;/tt&gt; (for &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;AccessibilityDescription&lt;/tt&gt;&lt;/a&gt; event) or its &amp;quot;What's This?&amp;quot; text&lt;/tt&gt; (for &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;AccessibilityHelp&lt;/tt&gt;&lt;/a&gt; event).&lt;/p&gt;
 */">
    <method name="public QAccessibleEvent(com.trolltech.qt.core.QEvent.Type type, int child)" doc="/**
&lt;p&gt;Constructs an accessibility event of the given &lt;tt&gt;type&lt;/tt&gt;, which must be QEvent::AccessibilityDescription or QEvent::AccessibilityHelp.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;child&lt;/tt&gt; is the (1-based) index of the child to which the request applies. If &lt;tt&gt;child&lt;/tt&gt; is 0, the request is for the widget itself.&lt;/p&gt;

@see &lt;a href=&quot;QAccessibleEvent.html#child()&quot;&gt;&lt;tt&gt;child&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int child()" doc="/**
&lt;p&gt;Returns the (1-based) index of the child to which the request applies. If the child is 0, the request is for the widget itself.&lt;/p&gt;
 */"/>
    <method name="public final void setValue(java.lang.String aText)" doc="/**
&lt;p&gt;Set the description or help text for the given &lt;a href=&quot;QAccessibleEvent.html#child()&quot;&gt;&lt;tt&gt;child&lt;/tt&gt;&lt;/a&gt; to &lt;tt&gt;aText&lt;/tt&gt;, thereby answering the request.&lt;/p&gt;

@see &lt;a href=&quot;QAccessibleEvent.html#value()&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String value()" doc="/**
&lt;p&gt;Returns the text set using &lt;a href=&quot;QAccessibleEvent.html#setValue(java.lang.String)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QAccessibleEvent.html#setValue(java.lang.String)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt; */"/>
</class>