Inheritance: Object, IDisposable
Esempio n. 1
0
 public QKeySequence(QKeySequence ks) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QKeySequence#", "QKeySequence(const QKeySequence&)", typeof(void), typeof(QKeySequence), ks);
 }
Esempio n. 2
0
 /// <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);
 }
Esempio n. 3
0
 /// <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);
 }
Esempio n. 4
0
File: QAction.cs Progetto: KDE/qyoto
 public void SetShortcuts(QKeySequence.StandardKey arg1)
 {
     interceptor.Invoke("setShortcuts$", "setShortcuts(QKeySequence::StandardKey)", typeof(void), typeof(QKeySequence.StandardKey), arg1);
 }
Esempio n. 5
0
 /// <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);
 }
Esempio n. 6
0
 public void SetShortcut(QKeySequence shortcut)
 {
     interceptor.Invoke("setShortcut#", "setShortcut(const QKeySequence&)", typeof(void), typeof(QKeySequence), shortcut);
 }
Esempio n. 7
0
 public QKeySequence(QKeySequence ks)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QKeySequence#", "QKeySequence(const QKeySequence&)", typeof(void), typeof(QKeySequence), ks);
 }
Esempio n. 8
0
 public void SetKeySequence(QKeySequence seq)
 {
     interceptor.Invoke("setKeySequence#", "setKeySequence(const QKeySequence&)", typeof(void), typeof(QKeySequence), seq);
 }
Esempio n. 9
0
 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);
 }
Esempio n. 10
0
 /// <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);
 }
Esempio n. 11
0
 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);
 }
Esempio n. 12
0
 /// <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);
 }
Esempio n. 13
0
 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);
 }
Esempio n. 14
0
File: QMenu.cs Progetto: KDE/qyoto
 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);
 }
Esempio n. 15
0
 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);
 }
Esempio n. 16
0
 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);
 }
Esempio n. 17
0
File: Qt.cs Progetto: KDE/qyoto
 public static QDataStream Read(QDataStream arg1, QKeySequence ks)
 {
     return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QKeySequence&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QKeySequence), ks);
 }
Esempio n. 18
0
 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);
 }
Esempio n. 19
0
 public string ToString(QKeySequence.SequenceFormat format)
 {
     return (string) interceptor.Invoke("toString$", "toString(QKeySequence::SequenceFormat) const", typeof(string), typeof(QKeySequence.SequenceFormat), format);
 }
Esempio n. 20
0
 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));
 }
Esempio n. 21
0
 public QKeySequence(QKeySequence.StandardKey key)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QKeySequence$", "QKeySequence(QKeySequence::StandardKey)", typeof(void), typeof(QKeySequence.StandardKey), key);
 }
Esempio n. 22
0
 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);
 }
Esempio n. 23
0
 /// <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);
 }
Esempio n. 24
0
 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);
 }
Esempio n. 25
0
 public void Remove(QKeySequence keySeq)
 {
     interceptor.Invoke("remove#", "remove(const QKeySequence&)", typeof(void), typeof(QKeySequence), keySeq);
 }
Esempio n. 26
0
 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);
 }
Esempio n. 27
0
 /// <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);
 }
Esempio n. 28
0
 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);
 }
Esempio n. 29
0
 public bool Matches(QKeySequence.StandardKey key)
 {
     return (bool) interceptor.Invoke("matches$", "matches(QKeySequence::StandardKey) const", typeof(bool), typeof(QKeySequence.StandardKey), key);
 }
Esempio n. 30
0
 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);
 }
Esempio n. 31
0
 public QKeySequence.SequenceMatch Matches(QKeySequence seq)
 {
     return((QKeySequence.SequenceMatch)interceptor.Invoke("matches#", "matches(const QKeySequence&) const", typeof(QKeySequence.SequenceMatch), typeof(QKeySequence), seq));
 }
Esempio n. 32
0
 public static List<QKeySequence> KeyBindings(QKeySequence.StandardKey key)
 {
     return (List<QKeySequence>) staticInterceptor.Invoke("keyBindings$", "keyBindings(QKeySequence::StandardKey)", typeof(List<QKeySequence>), typeof(QKeySequence.StandardKey), key);
 }
Esempio n. 33
0
 public int GrabShortcut(QKeySequence key)
 {
     return (int) interceptor.Invoke("grabShortcut#", "grabShortcut(const QKeySequence&)", typeof(int), typeof(QKeySequence), key);
 }
Esempio n. 34
0
 public QKeySequence.SequenceMatch Matches(QKeySequence seq)
 {
     return (QKeySequence.SequenceMatch) interceptor.Invoke("matches#", "matches(const QKeySequence&) const", typeof(QKeySequence.SequenceMatch), typeof(QKeySequence), seq);
 }
Esempio n. 35
0
File: Qt.cs Progetto: KDE/qyoto
 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);
 }
Esempio n. 36
0
 /// <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);
 }