io.qt.gui.QKeySequence Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Encapsulates a key sequence as used by shortcuts
* Java wrapper for Qt class QKeySequence
*/
public class QKeySequence extends QtObject
implements java.lang.Comparable,
java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QKeySequence.class);
/**
* Java wrapper for Qt enum QKeySequence::SequenceFormat
*/
public enum SequenceFormat implements QtEnumerator {
/**
* Representing QKeySequence:: NativeText
*/
NativeText(0),
/**
* Representing QKeySequence:: PortableText
*/
PortableText(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private SequenceFormat(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull SequenceFormat resolve(int value) {
switch (value) {
case 0: return NativeText;
case 1: return PortableText;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QKeySequence::SequenceMatch
*/
public enum SequenceMatch implements QtEnumerator {
/**
* Representing QKeySequence:: NoMatch
*/
NoMatch(0),
/**
* Representing QKeySequence:: PartialMatch
*/
PartialMatch(1),
/**
* Representing QKeySequence:: ExactMatch
*/
ExactMatch(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private SequenceMatch(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull SequenceMatch resolve(int value) {
switch (value) {
case 0: return NoMatch;
case 1: return PartialMatch;
case 2: return ExactMatch;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QKeySequence::StandardKey
*/
public enum StandardKey implements QtEnumerator {
/**
* Representing QKeySequence:: UnknownKey
*/
UnknownKey(0),
/**
* Representing QKeySequence:: HelpContents
*/
HelpContents(1),
/**
* Representing QKeySequence:: WhatsThis
*/
WhatsThis(2),
/**
* Representing QKeySequence:: Open
*/
Open(3),
/**
* Representing QKeySequence:: Close
*/
Close(4),
/**
* Representing QKeySequence:: Save
*/
Save(5),
/**
* Representing QKeySequence:: New
*/
New(6),
/**
* Representing QKeySequence:: Delete
*/
Delete(7),
/**
* Representing QKeySequence:: Cut
*/
Cut(8),
/**
* Representing QKeySequence:: Copy
*/
Copy(9),
/**
* Representing QKeySequence:: Paste
*/
Paste(10),
/**
* Representing QKeySequence:: Undo
*/
Undo(11),
/**
* Representing QKeySequence:: Redo
*/
Redo(12),
/**
* Representing QKeySequence:: Back
*/
Back(13),
/**
* Representing QKeySequence:: Forward
*/
Forward(14),
/**
* Representing QKeySequence:: Refresh
*/
Refresh(15),
/**
* Representing QKeySequence:: ZoomIn
*/
ZoomIn(16),
/**
* Representing QKeySequence:: ZoomOut
*/
ZoomOut(17),
/**
* Representing QKeySequence:: Print
*/
Print(18),
/**
* Representing QKeySequence:: AddTab
*/
AddTab(19),
/**
* Representing QKeySequence:: NextChild
*/
NextChild(20),
/**
* Representing QKeySequence:: PreviousChild
*/
PreviousChild(21),
/**
* Representing QKeySequence:: Find
*/
Find(22),
/**
* Representing QKeySequence:: FindNext
*/
FindNext(23),
/**
* Representing QKeySequence:: FindPrevious
*/
FindPrevious(24),
/**
* Representing QKeySequence:: Replace
*/
Replace(25),
/**
* Representing QKeySequence:: SelectAll
*/
SelectAll(26),
/**
* Representing QKeySequence:: Bold
*/
Bold(27),
/**
* Representing QKeySequence:: Italic
*/
Italic(28),
/**
* Representing QKeySequence:: Underline
*/
Underline(29),
/**
* Representing QKeySequence:: MoveToNextChar
*/
MoveToNextChar(30),
/**
* Representing QKeySequence:: MoveToPreviousChar
*/
MoveToPreviousChar(31),
/**
* Representing QKeySequence:: MoveToNextWord
*/
MoveToNextWord(32),
/**
* Representing QKeySequence:: MoveToPreviousWord
*/
MoveToPreviousWord(33),
/**
* Representing QKeySequence:: MoveToNextLine
*/
MoveToNextLine(34),
/**
* Representing QKeySequence:: MoveToPreviousLine
*/
MoveToPreviousLine(35),
/**
* Representing QKeySequence:: MoveToNextPage
*/
MoveToNextPage(36),
/**
* Representing QKeySequence:: MoveToPreviousPage
*/
MoveToPreviousPage(37),
/**
* Representing QKeySequence:: MoveToStartOfLine
*/
MoveToStartOfLine(38),
/**
* Representing QKeySequence:: MoveToEndOfLine
*/
MoveToEndOfLine(39),
/**
* Representing QKeySequence:: MoveToStartOfBlock
*/
MoveToStartOfBlock(40),
/**
* Representing QKeySequence:: MoveToEndOfBlock
*/
MoveToEndOfBlock(41),
/**
* Representing QKeySequence:: MoveToStartOfDocument
*/
MoveToStartOfDocument(42),
/**
* Representing QKeySequence:: MoveToEndOfDocument
*/
MoveToEndOfDocument(43),
/**
* Representing QKeySequence:: SelectNextChar
*/
SelectNextChar(44),
/**
* Representing QKeySequence:: SelectPreviousChar
*/
SelectPreviousChar(45),
/**
* Representing QKeySequence:: SelectNextWord
*/
SelectNextWord(46),
/**
* Representing QKeySequence:: SelectPreviousWord
*/
SelectPreviousWord(47),
/**
* Representing QKeySequence:: SelectNextLine
*/
SelectNextLine(48),
/**
* Representing QKeySequence:: SelectPreviousLine
*/
SelectPreviousLine(49),
/**
* Representing QKeySequence:: SelectNextPage
*/
SelectNextPage(50),
/**
* Representing QKeySequence:: SelectPreviousPage
*/
SelectPreviousPage(51),
/**
* Representing QKeySequence:: SelectStartOfLine
*/
SelectStartOfLine(52),
/**
* Representing QKeySequence:: SelectEndOfLine
*/
SelectEndOfLine(53),
/**
* Representing QKeySequence:: SelectStartOfBlock
*/
SelectStartOfBlock(54),
/**
* Representing QKeySequence:: SelectEndOfBlock
*/
SelectEndOfBlock(55),
/**
* Representing QKeySequence:: SelectStartOfDocument
*/
SelectStartOfDocument(56),
/**
* Representing QKeySequence:: SelectEndOfDocument
*/
SelectEndOfDocument(57),
/**
* Representing QKeySequence:: DeleteStartOfWord
*/
DeleteStartOfWord(58),
/**
* Representing QKeySequence:: DeleteEndOfWord
*/
DeleteEndOfWord(59),
/**
* Representing QKeySequence:: DeleteEndOfLine
*/
DeleteEndOfLine(60),
/**
* Representing QKeySequence:: InsertParagraphSeparator
*/
InsertParagraphSeparator(61),
/**
* Representing QKeySequence:: InsertLineSeparator
*/
InsertLineSeparator(62),
/**
* Representing QKeySequence:: SaveAs
*/
SaveAs(63),
/**
* Representing QKeySequence:: Preferences
*/
Preferences(64),
/**
* Representing QKeySequence:: Quit
*/
Quit(65),
/**
* Representing QKeySequence:: FullScreen
*/
FullScreen(66),
/**
* Representing QKeySequence:: Deselect
*/
Deselect(67),
/**
* Representing QKeySequence:: DeleteCompleteLine
*/
DeleteCompleteLine(68),
/**
* Representing QKeySequence:: Backspace
*/
Backspace(69),
/**
* Representing QKeySequence:: Cancel
*/
Cancel(70);
static {
QtJambi_LibraryUtilities.initialize();
}
private StandardKey(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull StandardKey resolve(int value) {
switch (value) {
case 0: return UnknownKey;
case 1: return HelpContents;
case 2: return WhatsThis;
case 3: return Open;
case 4: return Close;
case 5: return Save;
case 6: return New;
case 7: return Delete;
case 8: return Cut;
case 9: return Copy;
case 10: return Paste;
case 11: return Undo;
case 12: return Redo;
case 13: return Back;
case 14: return Forward;
case 15: return Refresh;
case 16: return ZoomIn;
case 17: return ZoomOut;
case 18: return Print;
case 19: return AddTab;
case 20: return NextChild;
case 21: return PreviousChild;
case 22: return Find;
case 23: return FindNext;
case 24: return FindPrevious;
case 25: return Replace;
case 26: return SelectAll;
case 27: return Bold;
case 28: return Italic;
case 29: return Underline;
case 30: return MoveToNextChar;
case 31: return MoveToPreviousChar;
case 32: return MoveToNextWord;
case 33: return MoveToPreviousWord;
case 34: return MoveToNextLine;
case 35: return MoveToPreviousLine;
case 36: return MoveToNextPage;
case 37: return MoveToPreviousPage;
case 38: return MoveToStartOfLine;
case 39: return MoveToEndOfLine;
case 40: return MoveToStartOfBlock;
case 41: return MoveToEndOfBlock;
case 42: return MoveToStartOfDocument;
case 43: return MoveToEndOfDocument;
case 44: return SelectNextChar;
case 45: return SelectPreviousChar;
case 46: return SelectNextWord;
case 47: return SelectPreviousWord;
case 48: return SelectNextLine;
case 49: return SelectPreviousLine;
case 50: return SelectNextPage;
case 51: return SelectPreviousPage;
case 52: return SelectStartOfLine;
case 53: return SelectEndOfLine;
case 54: return SelectStartOfBlock;
case 55: return SelectEndOfBlock;
case 56: return SelectStartOfDocument;
case 57: return SelectEndOfDocument;
case 58: return DeleteStartOfWord;
case 59: return DeleteEndOfWord;
case 60: return DeleteEndOfLine;
case 61: return InsertParagraphSeparator;
case 62: return InsertLineSeparator;
case 63: return SaveAs;
case 64: return Preferences;
case 65: return Quit;
case 66: return FullScreen;
case 67: return Deselect;
case 68: return DeleteCompleteLine;
case 69: return Backspace;
case 70: return Cancel;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QKeySequence:: QKeySequence()
*/
public QKeySequence(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QKeySequence instance);
/**
* See QKeySequence:: QKeySequence(QKeyCombination, QKeyCombination, QKeyCombination, QKeyCombination)
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.gui.@NonNull QKeyCombination k3, io.qt.gui.@NonNull QKeyCombination k4){
super((QPrivateConstructor)null);
initialize_native(this, k1, k2, k3, k4);
}
private native static void initialize_native(QKeySequence instance, io.qt.gui.QKeyCombination k1, io.qt.gui.QKeyCombination k2, io.qt.gui.QKeyCombination k3, io.qt.gui.QKeyCombination k4);
/**
* See QKeySequence:: QKeySequence(QKeySequence)
*/
public QKeySequence(io.qt.gui.@NonNull QKeySequence ks){
super((QPrivateConstructor)null);
initialize_native(this, ks);
}
private native static void initialize_native(QKeySequence instance, io.qt.gui.QKeySequence ks);
/**
* See QKeySequence:: QKeySequence(QKeySequence::StandardKey)
*/
public QKeySequence(io.qt.gui.QKeySequence.@NonNull StandardKey key){
super((QPrivateConstructor)null);
initialize_native(this, key);
}
private native static void initialize_native(QKeySequence instance, io.qt.gui.QKeySequence.StandardKey key);
/**
* See QKeySequence:: QKeySequence(QString, QKeySequence::SequenceFormat)
*/
public QKeySequence(java.lang.@NonNull String key, io.qt.gui.QKeySequence.@NonNull SequenceFormat format){
super((QPrivateConstructor)null);
initialize_native(this, key, format);
}
private native static void initialize_native(QKeySequence instance, java.lang.String key, io.qt.gui.QKeySequence.SequenceFormat format);
/**
* See QKeySequence:: QKeySequence(int, int, int, int)
*/
public QKeySequence(int k1, int k2, int k3, int k4){
super((QPrivateConstructor)null);
initialize_native(this, k1, k2, k3, k4);
}
private native static void initialize_native(QKeySequence instance, int k1, int k2, int k3, int k4);
/**
* See QKeySequence:: count()const
*/
@QtUninvokable
public final int count(){
return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int count_native_constfct(long __this__nativeId);
/**
* See QKeySequence:: isDetached()const
*/
@QtUninvokable
public final boolean isDetached(){
return isDetached_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDetached_native_constfct(long __this__nativeId);
/**
* See QKeySequence:: isEmpty()const
*/
@QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
* See QKeySequence:: matches(QKeySequence)const
*/
@QtUninvokable
public final io.qt.gui.QKeySequence.@NonNull SequenceMatch matches(io.qt.gui.@NonNull QKeySequence seq){
return io.qt.gui.QKeySequence.SequenceMatch.resolve(matches_native_cref_QKeySequence_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(seq)));
}
@QtUninvokable
private native int matches_native_cref_QKeySequence_constfct(long __this__nativeId, long seq);
/**
* See QKeySequence:: operator<(QKeySequence)const
*/
@QtUninvokable
private final boolean operator_less(io.qt.gui.@NonNull QKeySequence ks){
return operator_less_native_cref_QKeySequence_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ks));
}
@QtUninvokable
private native boolean operator_less_native_cref_QKeySequence_constfct(long __this__nativeId, long ks);
/**
* See operator<<(QDataStream&, QKeySequence)
*/
@QtUninvokable
public void writeTo(io.qt.core.@StrictNonNull QDataStream in){
java.util.Objects.requireNonNull(in, "Argument 'in': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(in));
}
@QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long in);
/**
* See QKeySequence:: operator=(QKeySequence)
*/
@QtUninvokable
public final void assign(io.qt.gui.@NonNull QKeySequence other){
assign_native_cref_QKeySequence(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QKeySequence(long __this__nativeId, long other);
/**
* See QKeySequence:: operator==(QKeySequence)const
*/
@QtUninvokable
public final boolean equals(io.qt.gui.@NonNull QKeySequence other){
return equals_native_cref_QKeySequence_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean equals_native_cref_QKeySequence_constfct(long __this__nativeId, long other);
/**
* See operator>>(QDataStream&, QKeySequence&)
*/
@QtUninvokable
public void readFrom(io.qt.core.@StrictNonNull QDataStream in){
java.util.Objects.requireNonNull(in, "Argument 'in': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(in));
}
@QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long in);
/**
* See QKeySequence:: operator[](uint)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QKeyCombination get(int i){
return get_native_uint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@QtUninvokable
private native io.qt.gui.QKeyCombination get_native_uint_constfct(long __this__nativeId, int i);
/**
* See QKeySequence:: swap(QKeySequence&)
*/
@QtUninvokable
public final void swap(io.qt.gui.@StrictNonNull QKeySequence other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QKeySequence(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QKeySequence(long __this__nativeId, long other);
/**
* See QKeySequence:: toString(QKeySequence::SequenceFormat)const
*/
@QtUninvokable
public final java.lang.@NonNull String toString(io.qt.gui.QKeySequence.@NonNull SequenceFormat format){
return toString_native_QKeySequence_SequenceFormat_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@QtUninvokable
private native java.lang.String toString_native_QKeySequence_SequenceFormat_constfct(long __this__nativeId, int format);
/**
* See QKeySequence:: fromString(QString, QKeySequence::SequenceFormat)
*/
public static io.qt.gui.@NonNull QKeySequence fromString(java.lang.@NonNull String str, io.qt.gui.QKeySequence.@NonNull SequenceFormat format){
return fromString_native_cref_QString_QKeySequence_SequenceFormat(str, format.value());
}
private native static io.qt.gui.QKeySequence fromString_native_cref_QString_QKeySequence_SequenceFormat(java.lang.String str, int format);
/**
* See QKeySequence:: keyBindings(QKeySequence::StandardKey)
*/
public static io.qt.core.@NonNull QList keyBindings(io.qt.gui.QKeySequence.@NonNull StandardKey key){
return keyBindings_native_QKeySequence_StandardKey(key.value());
}
private native static io.qt.core.QList keyBindings_native_QKeySequence_StandardKey(int key);
/**
* See QKeySequence:: listFromString(QString, QKeySequence::SequenceFormat)
*/
public static io.qt.core.@NonNull QList listFromString(java.lang.@NonNull String str, io.qt.gui.QKeySequence.@NonNull SequenceFormat format){
return listFromString_native_cref_QString_QKeySequence_SequenceFormat(str, format.value());
}
private native static io.qt.core.QList listFromString_native_cref_QString_QKeySequence_SequenceFormat(java.lang.String str, int format);
/**
* See QKeySequence:: listToString(QList<QKeySequence>, QKeySequence::SequenceFormat)
*/
public static java.lang.@NonNull String listToString(java.util.@NonNull Collection extends io.qt.gui.@NonNull QKeySequence> list, io.qt.gui.QKeySequence.@NonNull SequenceFormat format){
return listToString_native_cref_QList_QKeySequence_SequenceFormat(list, format.value());
}
private native static java.lang.String listToString_native_cref_QList_QKeySequence_SequenceFormat(java.util.Collection extends io.qt.gui.QKeySequence> list, int format);
/**
* See QKeySequence:: mnemonic(QString)
*/
public native static io.qt.gui.@NonNull QKeySequence mnemonic(java.lang.@NonNull String text);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QKeySequence(QPrivateConstructor p) { super(p); }
/**
* See QKeySequence:: operator==(QKeySequence)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QKeySequence) {
return equals((io.qt.gui.QKeySequence) other);
}
return false;
}
/**
* See QKeySequence:: operator<(QKeySequence)const
*/
/**
* {@inheritDoc}
*/
@QtUninvokable
public int compareTo(io.qt.gui.@StrictNonNull QKeySequence other) {
if (equals(other)) return 0;
else if (operator_less(other)) return -1;
else return 1;
}
/**
* Returns the objects's hash code computed by qHash(QKeySequence)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@QtUninvokable
public final QKeyCombination at(int i) {
return get(i);
}
/**
* Creates and returns a copy of this object.
See QKeySequence:: QKeySequence(QKeySequence)
*/
@QtUninvokable
@Override
public QKeySequence clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QKeySequence clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with k4 = io.qt.gui.QKeyCombination.fromCombined(0)
.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.gui.@NonNull QKeyCombination k3) {
this(k1, k2, k3, io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with:
* k3 = io.qt.gui.QKeyCombination.fromCombined(0)
* k4 = io.qt.gui.QKeyCombination.fromCombined(0)
*
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.gui.@NonNull QKeyCombination k2) {
this(k1, k2, io.qt.gui.QKeyCombination.fromCombined(0), io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with:
* k2 = io.qt.gui.QKeyCombination.fromCombined(0)
* k3 = io.qt.gui.QKeyCombination.fromCombined(0)
* k4 = io.qt.gui.QKeyCombination.fromCombined(0)
*
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1) {
this(k1, io.qt.gui.QKeyCombination.fromCombined(0), io.qt.gui.QKeyCombination.fromCombined(0), io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with k4 = io.qt.gui.QKeyCombination.fromCombined(0)
.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.gui.@NonNull QKeyCombination k3) {
this(k1, k2, k3, io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with:
* k3 = io.qt.gui.QKeyCombination.fromCombined(0)
* k4 = io.qt.gui.QKeyCombination.fromCombined(0)
*
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.gui.@NonNull QKeyCombination k2) {
this(k1, k2, io.qt.gui.QKeyCombination.fromCombined(0), io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with:
* k2 = io.qt.gui.QKeyCombination.fromCombined(0)
* k3 = io.qt.gui.QKeyCombination.fromCombined(0)
* k4 = io.qt.gui.QKeyCombination.fromCombined(0)
*
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1) {
this(k1, io.qt.gui.QKeyCombination.fromCombined(0), io.qt.gui.QKeyCombination.fromCombined(0), io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.gui.@NonNull QKeyCombination k3, io.qt.gui.@NonNull QKeyCombination k4) {
this(new io.qt.gui.QKeyCombination(k1), k2, k3, k4);
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with k4 = io.qt.gui.QKeyCombination.fromCombined(0)
.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.core.Qt.@NonNull Key k2, io.qt.gui.@NonNull QKeyCombination k3) {
this(k1, k2, k3, io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with:
* k3 = io.qt.gui.QKeyCombination.fromCombined(0)
* k4 = io.qt.gui.QKeyCombination.fromCombined(0)
*
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.core.Qt.@NonNull Key k2) {
this(k1, k2, io.qt.gui.QKeyCombination.fromCombined(0), io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.core.Qt.@NonNull Key k2, io.qt.gui.@NonNull QKeyCombination k3, io.qt.gui.@NonNull QKeyCombination k4) {
this(k1, new io.qt.gui.QKeyCombination(k2), k3, k4);
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with k4 = io.qt.gui.QKeyCombination.fromCombined(0)
.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.core.Qt.@NonNull Key k2, io.qt.gui.@NonNull QKeyCombination k3) {
this(k1, k2, k3, io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}
* with:
* k3 = io.qt.gui.QKeyCombination.fromCombined(0)
* k4 = io.qt.gui.QKeyCombination.fromCombined(0)
*
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.core.Qt.@NonNull Key k2) {
this(k1, k2, io.qt.gui.QKeyCombination.fromCombined(0), io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.core.Qt.@NonNull Key k2, io.qt.gui.@NonNull QKeyCombination k3, io.qt.gui.@NonNull QKeyCombination k4) {
this(new io.qt.gui.QKeyCombination(k1), new io.qt.gui.QKeyCombination(k2), k3, k4);
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)}
* with k4 = io.qt.gui.QKeyCombination.fromCombined(0)
.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.core.Qt.@NonNull Key k3) {
this(k1, k2, k3, io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.core.Qt.@NonNull Key k3, io.qt.gui.@NonNull QKeyCombination k4) {
this(k1, k2, new io.qt.gui.QKeyCombination(k3), k4);
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.core.Qt.Key, io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)}
* with k4 = io.qt.gui.QKeyCombination.fromCombined(0)
.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.core.Qt.@NonNull Key k3) {
this(k1, k2, k3, io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.core.Qt.@NonNull Key k3, io.qt.gui.@NonNull QKeyCombination k4) {
this(new io.qt.gui.QKeyCombination(k1), k2, new io.qt.gui.QKeyCombination(k3), k4);
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)}
* with k4 = io.qt.gui.QKeyCombination.fromCombined(0)
.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.core.Qt.@NonNull Key k2, io.qt.core.Qt.@NonNull Key k3) {
this(k1, k2, k3, io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.core.Qt.@NonNull Key k2, io.qt.core.Qt.@NonNull Key k3, io.qt.gui.@NonNull QKeyCombination k4) {
this(k1, new io.qt.gui.QKeyCombination(k2), new io.qt.gui.QKeyCombination(k3), k4);
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.core.Qt.Key, io.qt.gui.QKeyCombination)}
* with k4 = io.qt.gui.QKeyCombination.fromCombined(0)
.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.core.Qt.@NonNull Key k2, io.qt.core.Qt.@NonNull Key k3) {
this(k1, k2, k3, io.qt.gui.QKeyCombination.fromCombined(0));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.core.Qt.@NonNull Key k2, io.qt.core.Qt.@NonNull Key k3, io.qt.gui.@NonNull QKeyCombination k4) {
this(new io.qt.gui.QKeyCombination(k1), new io.qt.gui.QKeyCombination(k2), new io.qt.gui.QKeyCombination(k3), k4);
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.gui.@NonNull QKeyCombination k3, io.qt.core.Qt.@NonNull Key k4) {
this(k1, k2, k3, new io.qt.gui.QKeyCombination(k4));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.gui.@NonNull QKeyCombination k3, io.qt.core.Qt.@NonNull Key k4) {
this(new io.qt.gui.QKeyCombination(k1), k2, k3, new io.qt.gui.QKeyCombination(k4));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.core.Qt.@NonNull Key k2, io.qt.gui.@NonNull QKeyCombination k3, io.qt.core.Qt.@NonNull Key k4) {
this(k1, new io.qt.gui.QKeyCombination(k2), k3, new io.qt.gui.QKeyCombination(k4));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.core.Qt.@NonNull Key k2, io.qt.gui.@NonNull QKeyCombination k3, io.qt.core.Qt.@NonNull Key k4) {
this(new io.qt.gui.QKeyCombination(k1), new io.qt.gui.QKeyCombination(k2), k3, new io.qt.gui.QKeyCombination(k4));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.core.Qt.@NonNull Key k3, io.qt.core.Qt.@NonNull Key k4) {
this(k1, k2, new io.qt.gui.QKeyCombination(k3), new io.qt.gui.QKeyCombination(k4));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.gui.@NonNull QKeyCombination k2, io.qt.core.Qt.@NonNull Key k3, io.qt.core.Qt.@NonNull Key k4) {
this(new io.qt.gui.QKeyCombination(k1), k2, new io.qt.gui.QKeyCombination(k3), new io.qt.gui.QKeyCombination(k4));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.gui.@NonNull QKeyCombination k1, io.qt.core.Qt.@NonNull Key k2, io.qt.core.Qt.@NonNull Key k3, io.qt.core.Qt.@NonNull Key k4) {
this(k1, new io.qt.gui.QKeyCombination(k2), new io.qt.gui.QKeyCombination(k3), new io.qt.gui.QKeyCombination(k4));
}
/**
* Overloaded constructor for {@link #QKeySequence(io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination, io.qt.gui.QKeyCombination)}.
*/
public QKeySequence(io.qt.core.Qt.@NonNull Key k1, io.qt.core.Qt.@NonNull Key k2, io.qt.core.Qt.@NonNull Key k3, io.qt.core.Qt.@NonNull Key k4) {
this(new io.qt.gui.QKeyCombination(k1), new io.qt.gui.QKeyCombination(k2), new io.qt.gui.QKeyCombination(k3), new io.qt.gui.QKeyCombination(k4));
}
/**
* Overloaded constructor for {@link #QKeySequence(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)}
* with format = io.qt.gui.QKeySequence.SequenceFormat.NativeText
.
*/
public QKeySequence(java.lang.@NonNull String key) {
this(key, io.qt.gui.QKeySequence.SequenceFormat.NativeText);
}
/**
* Overloaded constructor for {@link #QKeySequence(int, int, int, int)}
* with k4 = 0
.
*/
public QKeySequence(int k1, int k2, int k3) {
this(k1, k2, k3, (int)0);
}
/**
* Overloaded constructor for {@link #QKeySequence(int, int, int, int)}
* with:
* k3 = 0
* k4 = 0
*
*/
public QKeySequence(int k1, int k2) {
this(k1, k2, (int)0, (int)0);
}
/**
* Overloaded constructor for {@link #QKeySequence(int, int, int, int)}
* with:
* k2 = 0
* k3 = 0
* k4 = 0
*
*/
public QKeySequence(int k1) {
this(k1, (int)0, (int)0, (int)0);
}
/**
* Overloaded function for {@link #matches(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final io.qt.gui.QKeySequence.@NonNull SequenceMatch matches(java.lang.@NonNull String seq) {
return matches(new io.qt.gui.QKeySequence(seq));
}
/**
* Overloaded function for {@link #matches(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final io.qt.gui.QKeySequence.@NonNull SequenceMatch matches(int seq) {
return matches(new io.qt.gui.QKeySequence(seq));
}
/**
* Overloaded function for {@link #matches(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final io.qt.gui.QKeySequence.@NonNull SequenceMatch matches(io.qt.gui.@NonNull QKeyCombination seq) {
return matches(new io.qt.gui.QKeySequence(seq));
}
/**
* Overloaded function for {@link #matches(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final io.qt.gui.QKeySequence.@NonNull SequenceMatch matches(io.qt.gui.QKeySequence.@NonNull StandardKey seq) {
return matches(new io.qt.gui.QKeySequence(seq));
}
/**
* Overloaded function for {@link #operator_less(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
private final boolean operator_less(java.lang.@NonNull String ks) {
return operator_less(new io.qt.gui.QKeySequence(ks));
}
/**
* Overloaded function for {@link #operator_less(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
private final boolean operator_less(int ks) {
return operator_less(new io.qt.gui.QKeySequence(ks));
}
/**
* Overloaded function for {@link #operator_less(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
private final boolean operator_less(io.qt.gui.@NonNull QKeyCombination ks) {
return operator_less(new io.qt.gui.QKeySequence(ks));
}
/**
* Overloaded function for {@link #operator_less(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
private final boolean operator_less(io.qt.gui.QKeySequence.@NonNull StandardKey ks) {
return operator_less(new io.qt.gui.QKeySequence(ks));
}
/**
* Overloaded function for {@link #assign(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final void assign(java.lang.@NonNull String other) {
assign(new io.qt.gui.QKeySequence(other));
}
/**
* Overloaded function for {@link #assign(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final void assign(int other) {
assign(new io.qt.gui.QKeySequence(other));
}
/**
* Overloaded function for {@link #assign(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final void assign(io.qt.gui.@NonNull QKeyCombination other) {
assign(new io.qt.gui.QKeySequence(other));
}
/**
* Overloaded function for {@link #assign(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final void assign(io.qt.gui.QKeySequence.@NonNull StandardKey other) {
assign(new io.qt.gui.QKeySequence(other));
}
/**
* Overloaded function for {@link #equals(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final boolean equals(java.lang.@NonNull String other) {
return equals(new io.qt.gui.QKeySequence(other));
}
/**
* Overloaded function for {@link #equals(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final boolean equals(int other) {
return equals(new io.qt.gui.QKeySequence(other));
}
/**
* Overloaded function for {@link #equals(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final boolean equals(io.qt.gui.@NonNull QKeyCombination other) {
return equals(new io.qt.gui.QKeySequence(other));
}
/**
* Overloaded function for {@link #equals(io.qt.gui.QKeySequence)}.
*/
@QtUninvokable
public final boolean equals(io.qt.gui.QKeySequence.@NonNull StandardKey other) {
return equals(new io.qt.gui.QKeySequence(other));
}
/**
* Overloaded function for {@link #toString(io.qt.gui.QKeySequence.SequenceFormat)}
* with format = io.qt.gui.QKeySequence.SequenceFormat.PortableText
.
*/
@QtUninvokable
public final java.lang.@NonNull String toString() {
return toString(io.qt.gui.QKeySequence.SequenceFormat.PortableText);
}
/**
* Overloaded function for {@link #fromString(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)}
* with format = io.qt.gui.QKeySequence.SequenceFormat.PortableText
.
*/
public static io.qt.gui.@NonNull QKeySequence fromString(java.lang.@NonNull String str) {
return fromString(str, io.qt.gui.QKeySequence.SequenceFormat.PortableText);
}
/**
* Overloaded function for {@link #listFromString(java.lang.String, io.qt.gui.QKeySequence.SequenceFormat)}
* with format = io.qt.gui.QKeySequence.SequenceFormat.PortableText
.
*/
public static io.qt.core.@NonNull QList listFromString(java.lang.@NonNull String str) {
return listFromString(str, io.qt.gui.QKeySequence.SequenceFormat.PortableText);
}
/**
* Overloaded function for {@link #listToString(java.util.Collection, io.qt.gui.QKeySequence.SequenceFormat)}
* with format = io.qt.gui.QKeySequence.SequenceFormat.PortableText
.
*/
public static java.lang.@NonNull String listToString(java.util.@NonNull Collection extends io.qt.gui.@NonNull QKeySequence> list) {
return listToString(list, io.qt.gui.QKeySequence.SequenceFormat.PortableText);
}
}