Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2188

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

<class name="QShortcutEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;QShortcutEvent.html#QShortcutEvent(com.trolltech.qt.gui.QKeySequence, int, boolean)&quot;&gt;&lt;tt&gt;QShortcutEvent&lt;/tt&gt;&lt;/a&gt; class provides an event which is generated when the user presses a key combination.&lt;/p&gt;
&lt;p&gt;Normally you don't need to use this class directly; &lt;a href=&quot;QShortcut.html&quot;&gt;&lt;tt&gt;QShortcut&lt;/tt&gt;&lt;/a&gt; provides a higher-level interface to handle shortcut keys.&lt;/p&gt;

@see &lt;a href=&quot;QShortcut.html&quot;&gt;&lt;tt&gt;QShortcut&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QShortcutEvent(com.trolltech.qt.gui.QKeySequence key, int id, boolean ambiguous)" doc="/**
&lt;p&gt;Constructs a shortcut event for the given &lt;tt&gt;key&lt;/tt&gt; press, associated with the &lt;a href=&quot;QShortcut.html&quot;&gt;&lt;tt&gt;QShortcut&lt;/tt&gt;&lt;/a&gt; ID &lt;tt&gt;id&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;ambiguous&lt;/tt&gt; specifies whether there is more than one &lt;a href=&quot;QShortcut.html&quot;&gt;&lt;tt&gt;QShortcut&lt;/tt&gt;&lt;/a&gt; for the same key sequence.&lt;/p&gt;
 */"/>
    <method name="public QShortcutEvent(com.trolltech.qt.gui.QKeySequence key, int id)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QShortcutEvent.html#QShortcutEvent(com.trolltech.qt.gui.QKeySequence, int, boolean)&quot;&gt;&lt;tt&gt;QShortcutEvent&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;key&lt;/tt&gt;, &lt;tt&gt;id&lt;/tt&gt;, false). */"/>
    <method name="public final boolean isAmbiguous()" doc="/**
&lt;p&gt;Returns true if the key sequence that triggered the event is ambiguous.&lt;/p&gt;

@see &lt;tt&gt;QShortcut::activatedAmbiguously&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QKeySequence key()" doc="/**
&lt;p&gt;Returns the key sequence that triggered the event.&lt;/p&gt;
 */"/>
    <method name="public final int shortcutId()" doc="/**
&lt;p&gt;Returns the ID of the &lt;a href=&quot;QShortcut.html&quot;&gt;&lt;tt&gt;QShortcut&lt;/tt&gt;&lt;/a&gt; object for which this event was generated.&lt;/p&gt;

@see &lt;tt&gt;QShortcut::id&lt;/tt&gt; */"/>
    <method name="protected final com.trolltech.qt.gui.QKeySequence sequence()"/>
    <method name="protected final void setSequence(com.trolltech.qt.gui.QKeySequence sequence)"/>
    <method name="protected final int sid()"/>
    <method name="protected final void setSid(int sid)"/>
    <method name="protected final boolean ambig()"/>
    <method name="protected final void setAmbig(boolean ambig)"/>
</class>