<class name="QShortcutEvent" doc="/** <p>The <a href="QShortcutEvent.html#QShortcutEvent(com.trolltech.qt.gui.QKeySequence, int, boolean)"><tt>QShortcutEvent</tt></a> class provides an event which is generated when the user presses a key combination.</p> <p>Normally you don't need to use this class directly; <a href="QShortcut.html"><tt>QShortcut</tt></a> provides a higher-level interface to handle shortcut keys.</p> @see <a href="QShortcut.html"><tt>QShortcut</tt></a> */"> <method name="public QShortcutEvent(com.trolltech.qt.gui.QKeySequence key, int id, boolean ambiguous)" doc="/** <p>Constructs a shortcut event for the given <tt>key</tt> press, associated with the <a href="QShortcut.html"><tt>QShortcut</tt></a> ID <tt>id</tt>.</p> <p><tt>ambiguous</tt> specifies whether there is more than one <a href="QShortcut.html"><tt>QShortcut</tt></a> for the same key sequence.</p> */"/> <method name="public QShortcutEvent(com.trolltech.qt.gui.QKeySequence key, int id)" doc="/** <p>Equivalent to <a href="QShortcutEvent.html#QShortcutEvent(com.trolltech.qt.gui.QKeySequence, int, boolean)"><tt>QShortcutEvent</tt></a>(<tt>key</tt>, <tt>id</tt>, false). */"/> <method name="public final boolean isAmbiguous()" doc="/** <p>Returns true if the key sequence that triggered the event is ambiguous.</p> @see <tt>QShortcut::activatedAmbiguously</tt> */"/> <method name="public final com.trolltech.qt.gui.QKeySequence key()" doc="/** <p>Returns the key sequence that triggered the event.</p> */"/> <method name="public final int shortcutId()" doc="/** <p>Returns the ID of the <a href="QShortcut.html"><tt>QShortcut</tt></a> object for which this event was generated.</p> @see <tt>QShortcut::id</tt> */"/> <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>