public QKeySequence(QKeySequence ks) : this((Type)null) { CreateProxy(); interceptor.Invoke("QKeySequence#", "QKeySequence(const QKeySequence&)", typeof(void), typeof(QKeySequence), ks); }
/// <remarks> /// Set the alternate key sequence of this shortcut to the given key sequence. /// <param> name="keySeq" set alternate key sequence to this /// </param></remarks> <short> Set the alternate key sequence of this shortcut to the given key sequence.</short> public void SetAlternate(QKeySequence keySeq) { interceptor.Invoke("setAlternate#", "setAlternate(const QKeySequence&)", typeof(void), typeof(QKeySequence), keySeq); }
/// <remarks> /// Creates a new shortcut with the given Qt key sequences /// as primary and secondary shortcuts. /// <param> name="primary" Qt keycode of primary shortcut /// </param><param> name="alternate" Qt keycode of alternate shortcut /// </param></remarks> <short> Creates a new shortcut with the given Qt key sequences as primary and secondary shortcuts.</short> /// <see> Qt.Key</see> public KShortcut(QKeySequence primary, QKeySequence alternate) : this((Type) null) { CreateProxy(); interceptor.Invoke("KShortcut##", "KShortcut(const QKeySequence&, const QKeySequence&)", typeof(void), typeof(QKeySequence), primary, typeof(QKeySequence), alternate); }
public void SetShortcuts(QKeySequence.StandardKey arg1) { interceptor.Invoke("setShortcuts$", "setShortcuts(QKeySequence::StandardKey)", typeof(void), typeof(QKeySequence.StandardKey), arg1); }
/// <remarks> /// Remove <code>keySeq</code> from this shortcut. /// If <code>handleEmpty</code> equals RemoveEmpty, following key sequences will move up to take the place of /// <code>keySeq.</code> Otherwise, key sequences equal to <code>keySeq</code> will be set to empty. /// <param> name="keySeq" remove this key sequence from the shortcut /// </param></remarks> <short> Remove <code>keySeq</code> from this shortcut.</short> public void Remove(QKeySequence keySeq, KShortcut.EmptyHandling handleEmpty) { interceptor.Invoke("remove#$", "remove(const QKeySequence&, KShortcut::EmptyHandling)", typeof(void), typeof(QKeySequence), keySeq, typeof(KShortcut.EmptyHandling), handleEmpty); }
public void SetShortcut(QKeySequence shortcut) { interceptor.Invoke("setShortcut#", "setShortcut(const QKeySequence&)", typeof(void), typeof(QKeySequence), shortcut); }
public QKeySequence(QKeySequence ks) : this((Type) null) { CreateProxy(); interceptor.Invoke("QKeySequence#", "QKeySequence(const QKeySequence&)", typeof(void), typeof(QKeySequence), ks); }
public void SetKeySequence(QKeySequence seq) { interceptor.Invoke("setKeySequence#", "setKeySequence(const QKeySequence&)", typeof(void), typeof(QKeySequence), seq); }
public QShortcut(QKeySequence key, QWidget parent, string member, string ambiguousMember, Qt.ShortcutContext context) : this((Type) null) { CreateProxy(); interceptor.Invoke("QShortcut##$$$", "QShortcut(const QKeySequence&, QWidget*, const char*, const char*, Qt::ShortcutContext)", typeof(void), typeof(QKeySequence), key, typeof(QWidget), parent, typeof(string), member, typeof(string), ambiguousMember, typeof(Qt.ShortcutContext), context); }
/// <remarks> /// Checks whether the key sequence <b>seq</b> is available to grab. /// The sequence is checked under the same rules as if it has been typed by /// the user. This method is useful if you get key sequences from another /// input source and want to check if it is save to set them. /// </remarks> <short> Checks whether the key sequence <b>seq</b> is available to grab.</short> public bool IsKeySequenceAvailable(QKeySequence seq) { return (bool) interceptor.Invoke("isKeySequenceAvailable#", "isKeySequenceAvailable(const QKeySequence&) const", typeof(bool), typeof(QKeySequence), seq); }
public void SetKeySequence(QKeySequence seq, KKeySequenceWidget.Validation val) { interceptor.Invoke("setKeySequence#$", "setKeySequence(const QKeySequence&, KKeySequenceWidget::Validation)", typeof(void), typeof(QKeySequence), seq, typeof(KKeySequenceWidget.Validation), val); }
/// <remarks> /// Return the StandardShortcut id of the standard accel action which /// uses this key sequence, or AccelNone if none of them do. /// This is used by class KKeyChooser. /// <param> name="keySeq" the key sequence to search /// </param></remarks> <return> the id of the standard accelerator, or AccelNone if there /// is none /// </return> /// <short> Return the StandardShortcut id of the standard accel action which uses this key sequence, or AccelNone if none of them do.</short> public static KStandardShortcut.StandardShortcut Find(QKeySequence keySeq) { return (KStandardShortcut.StandardShortcut) staticInterceptor.Invoke("find#", "find(const QKeySequence&)", typeof(KStandardShortcut.StandardShortcut), typeof(QKeySequence), keySeq); }
public QShortcutEvent(QKeySequence key, int id) : this((Type)null) { CreateProxy(); interceptor.Invoke("QShortcutEvent#$", "QShortcutEvent(const QKeySequence&, int)", typeof(void), typeof(QKeySequence), key, typeof(int), id); }
public QAction AddAction(QIcon icon, string text, QObject receiver, string member, QKeySequence shortcut) { return (QAction) interceptor.Invoke("addAction#$#$#", "addAction(const QIcon&, const QString&, const QObject*, const char*, const QKeySequence&)", typeof(QAction), typeof(QIcon), icon, typeof(string), text, typeof(QObject), receiver, typeof(string), member, typeof(QKeySequence), shortcut); }
public int GrabShortcut(QKeySequence key, Qt.ShortcutContext context) { return (int) interceptor.Invoke("grabShortcut#$", "grabShortcut(const QKeySequence&, Qt::ShortcutContext)", typeof(int), typeof(QKeySequence), key, typeof(Qt.ShortcutContext), context); }
public QShortcut(QKeySequence key, QWidget parent, string member) : this((Type) null) { CreateProxy(); interceptor.Invoke("QShortcut##$", "QShortcut(const QKeySequence&, QWidget*, const char*)", typeof(void), typeof(QKeySequence), key, typeof(QWidget), parent, typeof(string), member); }
public static QDataStream Read(QDataStream arg1, QKeySequence ks) { return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QKeySequence&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QKeySequence), ks); }
public QShortcut(QKeySequence key, QWidget parent) : this((Type) null) { CreateProxy(); interceptor.Invoke("QShortcut##", "QShortcut(const QKeySequence&, QWidget*)", typeof(void), typeof(QKeySequence), key, typeof(QWidget), parent); }
public string ToString(QKeySequence.SequenceFormat format) { return (string) interceptor.Invoke("toString$", "toString(QKeySequence::SequenceFormat) const", typeof(string), typeof(QKeySequence.SequenceFormat), format); }
public QAction AddAction(QIcon icon, string text, QObject receiver, string member, QKeySequence shortcut) { return((QAction)interceptor.Invoke("addAction#$#$#", "addAction(const QIcon&, const QString&, const QObject*, const char*, const QKeySequence&)", typeof(QAction), typeof(QIcon), icon, typeof(string), text, typeof(QObject), receiver, typeof(string), member, typeof(QKeySequence), shortcut)); }
public QKeySequence(QKeySequence.StandardKey key) : this((Type) null) { CreateProxy(); interceptor.Invoke("QKeySequence$", "QKeySequence(QKeySequence::StandardKey)", typeof(void), typeof(QKeySequence.StandardKey), key); }
public QShortcutEvent(QKeySequence key, int id) : this((Type) null) { CreateProxy(); interceptor.Invoke("QShortcutEvent#$", "QShortcutEvent(const QKeySequence&, int)", typeof(void), typeof(QKeySequence), key, typeof(int), id); }
/// <remarks> /// Returns whether at least one of the key sequences is equal to <code>needle.</code> /// </remarks> <return> whether this shortcut contains <code>needle</code> /// </return> /// <short> Returns whether at least one of the key sequences is equal to <code>needle.</code></short> public bool Contains(QKeySequence needle) { return (bool) interceptor.Invoke("contains#", "contains(const QKeySequence&) const", typeof(bool), typeof(QKeySequence), needle); }
public QShortcut(QKeySequence key, QWidget parent, string member, string ambiguousMember, Qt.ShortcutContext context) : this((Type)null) { CreateProxy(); interceptor.Invoke("QShortcut##$$$", "QShortcut(const QKeySequence&, QWidget*, const char*, const char*, Qt::ShortcutContext)", typeof(void), typeof(QKeySequence), key, typeof(QWidget), parent, typeof(string), member, typeof(string), ambiguousMember, typeof(Qt.ShortcutContext), context); }
public void Remove(QKeySequence keySeq) { interceptor.Invoke("remove#", "remove(const QKeySequence&)", typeof(void), typeof(QKeySequence), keySeq); }
public QShortcut(QKeySequence key, QWidget parent, string member) : this((Type)null) { CreateProxy(); interceptor.Invoke("QShortcut##$", "QShortcut(const QKeySequence&, QWidget*, const char*)", typeof(void), typeof(QKeySequence), key, typeof(QWidget), parent, typeof(string), member); }
/// <remarks> /// Returns shortcut as QVariant. /// </remarks> <short> Returns shortcut as QVariant.</short> /// <remarks> /// Set the primary key sequence of this shortcut to the given key sequence. /// <param> name="keySeq" set primary key sequence to this /// </param></remarks> <short> Set the primary key sequence of this shortcut to the given key sequence.</short> public void SetPrimary(QKeySequence keySeq) { interceptor.Invoke("setPrimary#", "setPrimary(const QKeySequence&)", typeof(void), typeof(QKeySequence), keySeq); }
public QShortcut(QKeySequence key, QWidget parent) : this((Type)null) { CreateProxy(); interceptor.Invoke("QShortcut##", "QShortcut(const QKeySequence&, QWidget*)", typeof(void), typeof(QKeySequence), key, typeof(QWidget), parent); }
public bool Matches(QKeySequence.StandardKey key) { return (bool) interceptor.Invoke("matches$", "matches(QKeySequence::StandardKey) const", typeof(bool), typeof(QKeySequence.StandardKey), key); }
public static QKeySequence FromString(string str, QKeySequence.SequenceFormat format) { return (QKeySequence) staticInterceptor.Invoke("fromString$$", "fromString(const QString&, QKeySequence::SequenceFormat)", typeof(QKeySequence), typeof(string), str, typeof(QKeySequence.SequenceFormat), format); }
public QKeySequence.SequenceMatch Matches(QKeySequence seq) { return((QKeySequence.SequenceMatch)interceptor.Invoke("matches#", "matches(const QKeySequence&) const", typeof(QKeySequence.SequenceMatch), typeof(QKeySequence), seq)); }
public static List<QKeySequence> KeyBindings(QKeySequence.StandardKey key) { return (List<QKeySequence>) staticInterceptor.Invoke("keyBindings$", "keyBindings(QKeySequence::StandardKey)", typeof(List<QKeySequence>), typeof(QKeySequence.StandardKey), key); }
public int GrabShortcut(QKeySequence key) { return (int) interceptor.Invoke("grabShortcut#", "grabShortcut(const QKeySequence&)", typeof(int), typeof(QKeySequence), key); }
public QKeySequence.SequenceMatch Matches(QKeySequence seq) { return (QKeySequence.SequenceMatch) interceptor.Invoke("matches#", "matches(const QKeySequence&) const", typeof(QKeySequence.SequenceMatch), typeof(QKeySequence), seq); }
public static QDataStream Write(QDataStream arg1, QKeySequence ks) { return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QKeySequence&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QKeySequence), ks); }
/// <remarks> /// \overload void setShortcut(KShortcut shortcut) /// Set the primary shortcut only for this action. /// This function is there to explicitly override QAction.SetShortcut(QKeySequence). /// QAction.SetShortcut() will bypass everything in KAction and may lead to unexpected behavior. /// \param shortcut shortcut(s) to use for this action in its specified shortcutContext() /// \param type type of shortcut to be set: active shortcut, /// default shortcut, or both (default argument value). /// </remarks> <short> \overload void setShortcut(KShortcut shortcut) </short> public void SetShortcut(QKeySequence shortcut, uint type) { interceptor.Invoke("setShortcut#$", "setShortcut(const QKeySequence&, KAction::ShortcutTypes)", typeof(void), typeof(QKeySequence), shortcut, typeof(uint), type); }