API reference - Class QKeySequence

Notation used in Ruby API documentation

Description: Binding of QKeySequence

Sub-classes: SequenceFormat, SequenceMatch, StandardKey

Public constructors

new QKeySequencenewConstructor QKeySequence::QKeySequence()
new QKeySequencenew(string key)Constructor QKeySequence::QKeySequence(const QString &key)
new QKeySequencenew(int k1,
int k2 = 0,
int k3 = 0,
int k4 = 0)
Constructor QKeySequence::QKeySequence(int k1, int k2, int k3, int k4)
new QKeySequencenew(const QKeySequence ks)Constructor QKeySequence::QKeySequence(const QKeySequence &ks)

Public methods

[const]bool!=(const QKeySequence other)Method bool QKeySequence::operator!=(const QKeySequence &other)
[const]bool<(const QKeySequence ks)Method bool QKeySequence::operator<(const QKeySequence &ks)
[const]bool<=(const QKeySequence other)Method bool QKeySequence::operator<=(const QKeySequence &other)
[const]bool==(const QKeySequence other)Method bool QKeySequence::operator==(const QKeySequence &other)
[const]bool>(const QKeySequence other)Method bool QKeySequence::operator>(const QKeySequence &other)
[const]bool>=(const QKeySequence other)Method bool QKeySequence::operator>=(const QKeySequence &other)
[const]int[](unsigned int i)Method int QKeySequence::operator[](unsigned int i)
void_assign(const QKeySequence other)Assigns another object to self
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
QKeySequenceassign(const QKeySequence other)Method QKeySequence &QKeySequence::operator=(const QKeySequence &other)
[const]unsigned intcountMethod unsigned int QKeySequence::count()
[const]new QKeySequence ptrdupCreates a copy of self
[const]boolisDetached?Method bool QKeySequence::isDetached()
[const]boolisEmpty?Method bool QKeySequence::isEmpty()
[const]QKeySequence_SequenceMatchmatches(const QKeySequence seq)Method QKeySequence::SequenceMatch QKeySequence::matches(const QKeySequence &seq)
[const]stringtoString(const QKeySequence_SequenceFormat format = QKeySequence::PortableText)Method QString QKeySequence::toString(QKeySequence::SequenceFormat format)

Public static methods and constants

[static,const]new QKeySequence_StandardKey ptrAddTabEnum constant QKeySequence::AddTab
[static,const]new QKeySequence_StandardKey ptrBackEnum constant QKeySequence::Back
[static,const]new QKeySequence_StandardKey ptrBoldEnum constant QKeySequence::Bold
[static,const]new QKeySequence_StandardKey ptrCloseEnum constant QKeySequence::Close
[static,const]new QKeySequence_StandardKey ptrCopyEnum constant QKeySequence::Copy
[static,const]new QKeySequence_StandardKey ptrCutEnum constant QKeySequence::Cut
[static,const]new QKeySequence_StandardKey ptrDeleteEnum constant QKeySequence::Delete
[static,const]new QKeySequence_StandardKey ptrDeleteEndOfLineEnum constant QKeySequence::DeleteEndOfLine
[static,const]new QKeySequence_StandardKey ptrDeleteEndOfWordEnum constant QKeySequence::DeleteEndOfWord
[static,const]new QKeySequence_StandardKey ptrDeleteStartOfWordEnum constant QKeySequence::DeleteStartOfWord
[static,const]new QKeySequence_SequenceMatch ptrExactMatchEnum constant QKeySequence::ExactMatch
[static,const]new QKeySequence_StandardKey ptrFindEnum constant QKeySequence::Find
[static,const]new QKeySequence_StandardKey ptrFindNextEnum constant QKeySequence::FindNext
[static,const]new QKeySequence_StandardKey ptrFindPreviousEnum constant QKeySequence::FindPrevious
[static,const]new QKeySequence_StandardKey ptrForwardEnum constant QKeySequence::Forward
[static,const]new QKeySequence_StandardKey ptrHelpContentsEnum constant QKeySequence::HelpContents
[static,const]new QKeySequence_StandardKey ptrInsertLineSeparatorEnum constant QKeySequence::InsertLineSeparator
[static,const]new QKeySequence_StandardKey ptrInsertParagraphSeparatorEnum constant QKeySequence::InsertParagraphSeparator
[static,const]new QKeySequence_StandardKey ptrItalicEnum constant QKeySequence::Italic
[static,const]new QKeySequence_StandardKey ptrMoveToEndOfBlockEnum constant QKeySequence::MoveToEndOfBlock
[static,const]new QKeySequence_StandardKey ptrMoveToEndOfDocumentEnum constant QKeySequence::MoveToEndOfDocument
[static,const]new QKeySequence_StandardKey ptrMoveToEndOfLineEnum constant QKeySequence::MoveToEndOfLine
[static,const]new QKeySequence_StandardKey ptrMoveToNextCharEnum constant QKeySequence::MoveToNextChar
[static,const]new QKeySequence_StandardKey ptrMoveToNextLineEnum constant QKeySequence::MoveToNextLine
[static,const]new QKeySequence_StandardKey ptrMoveToNextPageEnum constant QKeySequence::MoveToNextPage
[static,const]new QKeySequence_StandardKey ptrMoveToNextWordEnum constant QKeySequence::MoveToNextWord
[static,const]new QKeySequence_StandardKey ptrMoveToPreviousCharEnum constant QKeySequence::MoveToPreviousChar
[static,const]new QKeySequence_StandardKey ptrMoveToPreviousLineEnum constant QKeySequence::MoveToPreviousLine
[static,const]new QKeySequence_StandardKey ptrMoveToPreviousPageEnum constant QKeySequence::MoveToPreviousPage
[static,const]new QKeySequence_StandardKey ptrMoveToPreviousWordEnum constant QKeySequence::MoveToPreviousWord
[static,const]new QKeySequence_StandardKey ptrMoveToStartOfBlockEnum constant QKeySequence::MoveToStartOfBlock
[static,const]new QKeySequence_StandardKey ptrMoveToStartOfDocumentEnum constant QKeySequence::MoveToStartOfDocument
[static,const]new QKeySequence_StandardKey ptrMoveToStartOfLineEnum constant QKeySequence::MoveToStartOfLine
[static,const]new QKeySequence_SequenceFormat ptrNativeTextEnum constant QKeySequence::NativeText
[static,const]new QKeySequence_StandardKey ptrNewEnum constant QKeySequence::New
[static,const]new QKeySequence_StandardKey ptrNextChildEnum constant QKeySequence::NextChild
[static,const]new QKeySequence_SequenceMatch ptrNoMatchEnum constant QKeySequence::NoMatch
[static,const]new QKeySequence_StandardKey ptrOpenEnum constant QKeySequence::Open
[static,const]new QKeySequence_SequenceMatch ptrPartialMatchEnum constant QKeySequence::PartialMatch
[static,const]new QKeySequence_StandardKey ptrPasteEnum constant QKeySequence::Paste
[static,const]new QKeySequence_SequenceFormat ptrPortableTextEnum constant QKeySequence::PortableText
[static,const]new QKeySequence_StandardKey ptrPreferencesEnum constant QKeySequence::Preferences
[static,const]new QKeySequence_StandardKey ptrPreviousChildEnum constant QKeySequence::PreviousChild
[static,const]new QKeySequence_StandardKey ptrPrintEnum constant QKeySequence::Print
[static,const]new QKeySequence_StandardKey ptrQuitEnum constant QKeySequence::Quit
[static,const]new QKeySequence_StandardKey ptrRedoEnum constant QKeySequence::Redo
[static,const]new QKeySequence_StandardKey ptrRefreshEnum constant QKeySequence::Refresh
[static,const]new QKeySequence_StandardKey ptrReplaceEnum constant QKeySequence::Replace
[static,const]new QKeySequence_StandardKey ptrSaveEnum constant QKeySequence::Save
[static,const]new QKeySequence_StandardKey ptrSaveAsEnum constant QKeySequence::SaveAs
[static,const]new QKeySequence_StandardKey ptrSelectAllEnum constant QKeySequence::SelectAll
[static,const]new QKeySequence_StandardKey ptrSelectEndOfBlockEnum constant QKeySequence::SelectEndOfBlock
[static,const]new QKeySequence_StandardKey ptrSelectEndOfDocumentEnum constant QKeySequence::SelectEndOfDocument
[static,const]new QKeySequence_StandardKey ptrSelectEndOfLineEnum constant QKeySequence::SelectEndOfLine
[static,const]new QKeySequence_StandardKey ptrSelectNextCharEnum constant QKeySequence::SelectNextChar
[static,const]new QKeySequence_StandardKey ptrSelectNextLineEnum constant QKeySequence::SelectNextLine
[static,const]new QKeySequence_StandardKey ptrSelectNextPageEnum constant QKeySequence::SelectNextPage
[static,const]new QKeySequence_StandardKey ptrSelectNextWordEnum constant QKeySequence::SelectNextWord
[static,const]new QKeySequence_StandardKey ptrSelectPreviousCharEnum constant QKeySequence::SelectPreviousChar
[static,const]new QKeySequence_StandardKey ptrSelectPreviousLineEnum constant QKeySequence::SelectPreviousLine
[static,const]new QKeySequence_StandardKey ptrSelectPreviousPageEnum constant QKeySequence::SelectPreviousPage
[static,const]new QKeySequence_StandardKey ptrSelectPreviousWordEnum constant QKeySequence::SelectPreviousWord
[static,const]new QKeySequence_StandardKey ptrSelectStartOfBlockEnum constant QKeySequence::SelectStartOfBlock
[static,const]new QKeySequence_StandardKey ptrSelectStartOfDocumentEnum constant QKeySequence::SelectStartOfDocument
[static,const]new QKeySequence_StandardKey ptrSelectStartOfLineEnum constant QKeySequence::SelectStartOfLine
[static,const]new QKeySequence_StandardKey ptrUnderlineEnum constant QKeySequence::Underline
[static,const]new QKeySequence_StandardKey ptrUndoEnum constant QKeySequence::Undo
[static,const]new QKeySequence_StandardKey ptrUnknownKeyEnum constant QKeySequence::UnknownKey
[static,const]new QKeySequence_StandardKey ptrWhatsThisEnum constant QKeySequence::WhatsThis
[static,const]new QKeySequence_StandardKey ptrZoomInEnum constant QKeySequence::ZoomIn
[static,const]new QKeySequence_StandardKey ptrZoomOutEnum constant QKeySequence::ZoomOut
QKeySequencefromString(string str,
const QKeySequence_SequenceFormat format = QKeySequence::PortableText)
Static method QKeySequence QKeySequence::fromString(const QString &str, QKeySequence::SequenceFormat format)
QKeySequence[]keyBindings(const QKeySequence_StandardKey key)Static method QList<QKeySequence> QKeySequence::keyBindings(QKeySequence::StandardKey key)
QKeySequencemnemonic(string text)Static method QKeySequence QKeySequence::mnemonic(const QString &text)
new QKeySequencenew_std(const QKeySequence_StandardKey key)Constructor QKeySequence::QKeySequence(QKeySequence::StandardKey key)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]booldestroyed?Use of this method is deprecated. Use _destroyed? instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

[const] bool !=(const QKeySequence other)

Description: Method bool QKeySequence::operator!=(const QKeySequence &other)

[const] bool <(const QKeySequence ks)

Description: Method bool QKeySequence::operator<(const QKeySequence &ks)

[const] bool <=(const QKeySequence other)

Description: Method bool QKeySequence::operator<=(const QKeySequence &other)

[const] bool ==(const QKeySequence other)

Description: Method bool QKeySequence::operator==(const QKeySequence &other)

[const] bool >(const QKeySequence other)

Description: Method bool QKeySequence::operator>(const QKeySequence &other)

[const] bool >=(const QKeySequence other)

Description: Method bool QKeySequence::operator>=(const QKeySequence &other)

[static,const] new QKeySequence_StandardKey ptr AddTab

Description: Enum constant QKeySequence::AddTab

[static,const] new QKeySequence_StandardKey ptr Back

Description: Enum constant QKeySequence::Back

[static,const] new QKeySequence_StandardKey ptr Bold

Description: Enum constant QKeySequence::Bold

[static,const] new QKeySequence_StandardKey ptr Close

Description: Enum constant QKeySequence::Close

[static,const] new QKeySequence_StandardKey ptr Copy

Description: Enum constant QKeySequence::Copy

[static,const] new QKeySequence_StandardKey ptr Cut

Description: Enum constant QKeySequence::Cut

[static,const] new QKeySequence_StandardKey ptr Delete

Description: Enum constant QKeySequence::Delete

[static,const] new QKeySequence_StandardKey ptr DeleteEndOfLine

Description: Enum constant QKeySequence::DeleteEndOfLine

[static,const] new QKeySequence_StandardKey ptr DeleteEndOfWord

Description: Enum constant QKeySequence::DeleteEndOfWord

[static,const] new QKeySequence_StandardKey ptr DeleteStartOfWord

Description: Enum constant QKeySequence::DeleteStartOfWord

[static,const] new QKeySequence_SequenceMatch ptr ExactMatch

Description: Enum constant QKeySequence::ExactMatch

[static,const] new QKeySequence_StandardKey ptr Find

Description: Enum constant QKeySequence::Find

[static,const] new QKeySequence_StandardKey ptr FindNext

Description: Enum constant QKeySequence::FindNext

[static,const] new QKeySequence_StandardKey ptr FindPrevious

Description: Enum constant QKeySequence::FindPrevious

[static,const] new QKeySequence_StandardKey ptr Forward

Description: Enum constant QKeySequence::Forward

[static,const] new QKeySequence_StandardKey ptr HelpContents

Description: Enum constant QKeySequence::HelpContents

[static,const] new QKeySequence_StandardKey ptr InsertLineSeparator

Description: Enum constant QKeySequence::InsertLineSeparator

[static,const] new QKeySequence_StandardKey ptr InsertParagraphSeparator

Description: Enum constant QKeySequence::InsertParagraphSeparator

[static,const] new QKeySequence_StandardKey ptr Italic

Description: Enum constant QKeySequence::Italic

[static,const] new QKeySequence_StandardKey ptr MoveToEndOfBlock

Description: Enum constant QKeySequence::MoveToEndOfBlock

[static,const] new QKeySequence_StandardKey ptr MoveToEndOfDocument

Description: Enum constant QKeySequence::MoveToEndOfDocument

[static,const] new QKeySequence_StandardKey ptr MoveToEndOfLine

Description: Enum constant QKeySequence::MoveToEndOfLine

[static,const] new QKeySequence_StandardKey ptr MoveToNextChar

Description: Enum constant QKeySequence::MoveToNextChar

[static,const] new QKeySequence_StandardKey ptr MoveToNextLine

Description: Enum constant QKeySequence::MoveToNextLine

[static,const] new QKeySequence_StandardKey ptr MoveToNextPage

Description: Enum constant QKeySequence::MoveToNextPage

[static,const] new QKeySequence_StandardKey ptr MoveToNextWord

Description: Enum constant QKeySequence::MoveToNextWord

[static,const] new QKeySequence_StandardKey ptr MoveToPreviousChar

Description: Enum constant QKeySequence::MoveToPreviousChar

[static,const] new QKeySequence_StandardKey ptr MoveToPreviousLine

Description: Enum constant QKeySequence::MoveToPreviousLine

[static,const] new QKeySequence_StandardKey ptr MoveToPreviousPage

Description: Enum constant QKeySequence::MoveToPreviousPage

[static,const] new QKeySequence_StandardKey ptr MoveToPreviousWord

Description: Enum constant QKeySequence::MoveToPreviousWord

[static,const] new QKeySequence_StandardKey ptr MoveToStartOfBlock

Description: Enum constant QKeySequence::MoveToStartOfBlock

[static,const] new QKeySequence_StandardKey ptr MoveToStartOfDocument

Description: Enum constant QKeySequence::MoveToStartOfDocument

[static,const] new QKeySequence_StandardKey ptr MoveToStartOfLine

Description: Enum constant QKeySequence::MoveToStartOfLine

[static,const] new QKeySequence_SequenceFormat ptr NativeText

Description: Enum constant QKeySequence::NativeText

[static,const] new QKeySequence_StandardKey ptr New

Description: Enum constant QKeySequence::New

[static,const] new QKeySequence_StandardKey ptr NextChild

Description: Enum constant QKeySequence::NextChild

[static,const] new QKeySequence_SequenceMatch ptr NoMatch

Description: Enum constant QKeySequence::NoMatch

[static,const] new QKeySequence_StandardKey ptr Open

Description: Enum constant QKeySequence::Open

[static,const] new QKeySequence_SequenceMatch ptr PartialMatch

Description: Enum constant QKeySequence::PartialMatch

[static,const] new QKeySequence_StandardKey ptr Paste

Description: Enum constant QKeySequence::Paste

[static,const] new QKeySequence_SequenceFormat ptr PortableText

Description: Enum constant QKeySequence::PortableText

[static,const] new QKeySequence_StandardKey ptr Preferences

Description: Enum constant QKeySequence::Preferences

[static,const] new QKeySequence_StandardKey ptr PreviousChild

Description: Enum constant QKeySequence::PreviousChild

[static,const] new QKeySequence_StandardKey ptr Print

Description: Enum constant QKeySequence::Print

[static,const] new QKeySequence_StandardKey ptr Quit

Description: Enum constant QKeySequence::Quit

[static,const] new QKeySequence_StandardKey ptr Redo

Description: Enum constant QKeySequence::Redo

[static,const] new QKeySequence_StandardKey ptr Refresh

Description: Enum constant QKeySequence::Refresh

[static,const] new QKeySequence_StandardKey ptr Replace

Description: Enum constant QKeySequence::Replace

[static,const] new QKeySequence_StandardKey ptr Save

Description: Enum constant QKeySequence::Save

[static,const] new QKeySequence_StandardKey ptr SaveAs

Description: Enum constant QKeySequence::SaveAs

[static,const] new QKeySequence_StandardKey ptr SelectAll

Description: Enum constant QKeySequence::SelectAll

[static,const] new QKeySequence_StandardKey ptr SelectEndOfBlock

Description: Enum constant QKeySequence::SelectEndOfBlock

[static,const] new QKeySequence_StandardKey ptr SelectEndOfDocument

Description: Enum constant QKeySequence::SelectEndOfDocument

[static,const] new QKeySequence_StandardKey ptr SelectEndOfLine

Description: Enum constant QKeySequence::SelectEndOfLine

[static,const] new QKeySequence_StandardKey ptr SelectNextChar

Description: Enum constant QKeySequence::SelectNextChar

[static,const] new QKeySequence_StandardKey ptr SelectNextLine

Description: Enum constant QKeySequence::SelectNextLine

[static,const] new QKeySequence_StandardKey ptr SelectNextPage

Description: Enum constant QKeySequence::SelectNextPage

[static,const] new QKeySequence_StandardKey ptr SelectNextWord

Description: Enum constant QKeySequence::SelectNextWord

[static,const] new QKeySequence_StandardKey ptr SelectPreviousChar

Description: Enum constant QKeySequence::SelectPreviousChar

[static,const] new QKeySequence_StandardKey ptr SelectPreviousLine

Description: Enum constant QKeySequence::SelectPreviousLine

[static,const] new QKeySequence_StandardKey ptr SelectPreviousPage

Description: Enum constant QKeySequence::SelectPreviousPage

[static,const] new QKeySequence_StandardKey ptr SelectPreviousWord

Description: Enum constant QKeySequence::SelectPreviousWord

[static,const] new QKeySequence_StandardKey ptr SelectStartOfBlock

Description: Enum constant QKeySequence::SelectStartOfBlock

[static,const] new QKeySequence_StandardKey ptr SelectStartOfDocument

Description: Enum constant QKeySequence::SelectStartOfDocument

[static,const] new QKeySequence_StandardKey ptr SelectStartOfLine

Description: Enum constant QKeySequence::SelectStartOfLine

[static,const] new QKeySequence_StandardKey ptr Underline

Description: Enum constant QKeySequence::Underline

[static,const] new QKeySequence_StandardKey ptr Undo

Description: Enum constant QKeySequence::Undo

[static,const] new QKeySequence_StandardKey ptr UnknownKey

Description: Enum constant QKeySequence::UnknownKey

[static,const] new QKeySequence_StandardKey ptr WhatsThis

Description: Enum constant QKeySequence::WhatsThis

[static,const] new QKeySequence_StandardKey ptr ZoomIn

Description: Enum constant QKeySequence::ZoomIn

[static,const] new QKeySequence_StandardKey ptr ZoomOut

Description: Enum constant QKeySequence::ZoomOut

[const] int [](unsigned int i)

Description: Method int QKeySequence::operator[](unsigned int i)

void _assign(const QKeySequence other)

Description: Assigns another object to self

void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

[const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

QKeySequence assign(const QKeySequence other)

Description: Method QKeySequence &QKeySequence::operator=(const QKeySequence &other)

[const] unsigned int count

Description: Method unsigned int QKeySequence::count()

void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

Use of this method is deprecated. Use _destroyed? instead

[const] new QKeySequence ptr dup

Description: Creates a copy of self

[static] QKeySequence fromString(string str,const QKeySequence_SequenceFormat format = QKeySequence::PortableText)

Description: Static method QKeySequence QKeySequence::fromString(const QString &str, QKeySequence::SequenceFormat format)

This method is static and can be called without an instance.

[const] bool isDetached?

Description: Method bool QKeySequence::isDetached()

[const] bool isEmpty?

Description: Method bool QKeySequence::isEmpty()

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

[static] QKeySequence[] keyBindings(const QKeySequence_StandardKey key)

Description: Static method QList<QKeySequence> QKeySequence::keyBindings(QKeySequence::StandardKey key)

This method is static and can be called without an instance.

[const] QKeySequence_SequenceMatch matches(const QKeySequence seq)

Description: Method QKeySequence::SequenceMatch QKeySequence::matches(const QKeySequence &seq)

[static] QKeySequence mnemonic(string text)

Description: Static method QKeySequence QKeySequence::mnemonic(const QString &text)

This method is static and can be called without an instance.

[static] new QKeySequence new

Description: Constructor QKeySequence::QKeySequence()

This method creates an object of class QKeySequence.

Python specific notes:

This method is the default initializer of the object

[static] new QKeySequence new(string key)

Description: Constructor QKeySequence::QKeySequence(const QString &key)

This method creates an object of class QKeySequence.

Python specific notes:

This method is the default initializer of the object

[static] new QKeySequence new(int k1,int k2 = 0,int k3 = 0,int k4 = 0)

Description: Constructor QKeySequence::QKeySequence(int k1, int k2, int k3, int k4)

This method creates an object of class QKeySequence.

Python specific notes:

This method is the default initializer of the object

[static] new QKeySequence new(const QKeySequence ks)

Description: Constructor QKeySequence::QKeySequence(const QKeySequence &ks)

This method creates an object of class QKeySequence.

Python specific notes:

This method is the default initializer of the object

[static] new QKeySequence new_std(const QKeySequence_StandardKey key)

Description: Constructor QKeySequence::QKeySequence(QKeySequence::StandardKey key)

This method creates an object of class QKeySequence.

[const] string toString(const QKeySequence_SequenceFormat format = QKeySequence::PortableText)

Description: Method QString QKeySequence::toString(QKeySequence::SequenceFormat format)