Inheritance: Object, IDisposable
示例#1
0
 public QKeySequence(QKeySequence ks) : this((Type)null)
 {
     CreateProxy();
     interceptor.Invoke("QKeySequence#", "QKeySequence(const QKeySequence&)", typeof(void), typeof(QKeySequence), ks);
 }
示例#2
0
文件: KShortcut.cs 项目: KDE/kimono
 /// <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);
 }
示例#3
0
文件: KShortcut.cs 项目: KDE/kimono
 /// <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);
 }
示例#4
0
文件: QAction.cs 项目: KDE/qyoto
 public void SetShortcuts(QKeySequence.StandardKey arg1)
 {
     interceptor.Invoke("setShortcuts$", "setShortcuts(QKeySequence::StandardKey)", typeof(void), typeof(QKeySequence.StandardKey), arg1);
 }
示例#5
0
文件: KShortcut.cs 项目: KDE/kimono
 /// <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);
 }
示例#6
0
文件: KAction.cs 项目: KDE/kimono
 public void SetShortcut(QKeySequence shortcut)
 {
     interceptor.Invoke("setShortcut#", "setShortcut(const QKeySequence&)", typeof(void), typeof(QKeySequence), shortcut);
 }
示例#7
0
 public QKeySequence(QKeySequence ks)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QKeySequence#", "QKeySequence(const QKeySequence&)", typeof(void), typeof(QKeySequence), ks);
 }
示例#8
0
 public void SetKeySequence(QKeySequence seq)
 {
     interceptor.Invoke("setKeySequence#", "setKeySequence(const QKeySequence&)", typeof(void), typeof(QKeySequence), seq);
 }
示例#9
0
文件: QShortcut.cs 项目: KDE/qyoto
 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);
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#14
0
文件: QMenu.cs 项目: 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);
 }
示例#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);
 }
示例#16
0
文件: QShortcut.cs 项目: KDE/qyoto
 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);
 }
示例#17
0
文件: Qt.cs 项目: 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);
 }
示例#18
0
文件: QShortcut.cs 项目: KDE/qyoto
 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);
 }
示例#19
0
 public string ToString(QKeySequence.SequenceFormat format)
 {
     return (string) interceptor.Invoke("toString$", "toString(QKeySequence::SequenceFormat) const", typeof(string), typeof(QKeySequence.SequenceFormat), format);
 }
示例#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));
 }
示例#21
0
 public QKeySequence(QKeySequence.StandardKey key)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("QKeySequence$", "QKeySequence(QKeySequence::StandardKey)", typeof(void), typeof(QKeySequence.StandardKey), key);
 }
示例#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);
 }
示例#23
0
文件: KShortcut.cs 项目: KDE/kimono
 /// <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);
 }
示例#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);
 }
示例#25
0
文件: KShortcut.cs 项目: KDE/kimono
 public void Remove(QKeySequence keySeq)
 {
     interceptor.Invoke("remove#", "remove(const QKeySequence&)", typeof(void), typeof(QKeySequence), keySeq);
 }
示例#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);
 }
示例#27
0
文件: KShortcut.cs 项目: KDE/kimono
 /// <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);
 }
示例#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);
 }
示例#29
0
文件: QKeyEvent.cs 项目: KDE/qyoto
 public bool Matches(QKeySequence.StandardKey key)
 {
     return (bool) interceptor.Invoke("matches$", "matches(QKeySequence::StandardKey) const", typeof(bool), typeof(QKeySequence.StandardKey), key);
 }
示例#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);
 }
示例#31
0
 public QKeySequence.SequenceMatch Matches(QKeySequence seq)
 {
     return((QKeySequence.SequenceMatch)interceptor.Invoke("matches#", "matches(const QKeySequence&) const", typeof(QKeySequence.SequenceMatch), typeof(QKeySequence), seq));
 }
示例#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);
 }
示例#33
0
 public int GrabShortcut(QKeySequence key)
 {
     return (int) interceptor.Invoke("grabShortcut#", "grabShortcut(const QKeySequence&)", typeof(int), typeof(QKeySequence), key);
 }
示例#34
0
 public QKeySequence.SequenceMatch Matches(QKeySequence seq)
 {
     return (QKeySequence.SequenceMatch) interceptor.Invoke("matches#", "matches(const QKeySequence&) const", typeof(QKeySequence.SequenceMatch), typeof(QKeySequence), seq);
 }
示例#35
0
文件: Qt.cs 项目: 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);
 }
示例#36
0
文件: KAction.cs 项目: KDE/kimono
 /// <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);
 }