API reference - Class QTextCursor_MoveOperation

Notation used in Ruby API documentation

Description: This class represents the QTextCursor::MoveOperation enum

Class hierarchy: QTextCursor_MoveOperation » QTextCursor_QFlags_MoveOperation

Public constructors

new QTextCursor_MoveOperationnew(unsigned int value)Creates the enum object from an integer

Public methods

[const]bool==(QTextCursor_MoveOperation other)Compares the enum class against an enum of it's own type
[const]bool==(unsigned int other)Compares the enum class against an integer
[const]voidassign(const QTextCursor_MoveOperation other)Assign the contents of another object to self
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QTextCursor_MoveOperationdupCreates a copy of self
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]unsigned intto_iConverts the enum class to an integer
[const]stringto_sConverts the enum class to a string

Public static methods and constants

new QTextCursor_MoveOperationDownEnum constant QTextCursor::Down
new QTextCursor_MoveOperationEndEnum constant QTextCursor::End
new QTextCursor_MoveOperationEndOfBlockEnum constant QTextCursor::EndOfBlock
new QTextCursor_MoveOperationEndOfLineEnum constant QTextCursor::EndOfLine
new QTextCursor_MoveOperationEndOfWordEnum constant QTextCursor::EndOfWord
new QTextCursor_MoveOperationLeftEnum constant QTextCursor::Left
new QTextCursor_MoveOperationNextBlockEnum constant QTextCursor::NextBlock
new QTextCursor_MoveOperationNextCellEnum constant QTextCursor::NextCell
new QTextCursor_MoveOperationNextCharacterEnum constant QTextCursor::NextCharacter
new QTextCursor_MoveOperationNextRowEnum constant QTextCursor::NextRow
new QTextCursor_MoveOperationNextWordEnum constant QTextCursor::NextWord
new QTextCursor_MoveOperationNoMoveEnum constant QTextCursor::NoMove
new QTextCursor_MoveOperationPreviousBlockEnum constant QTextCursor::PreviousBlock
new QTextCursor_MoveOperationPreviousCellEnum constant QTextCursor::PreviousCell
new QTextCursor_MoveOperationPreviousCharacterEnum constant QTextCursor::PreviousCharacter
new QTextCursor_MoveOperationPreviousRowEnum constant QTextCursor::PreviousRow
new QTextCursor_MoveOperationPreviousWordEnum constant QTextCursor::PreviousWord
new QTextCursor_MoveOperationRightEnum constant QTextCursor::Right
new QTextCursor_MoveOperationStartEnum constant QTextCursor::Start
new QTextCursor_MoveOperationStartOfBlockEnum constant QTextCursor::StartOfBlock
new QTextCursor_MoveOperationStartOfLineEnum constant QTextCursor::StartOfLine
new QTextCursor_MoveOperationStartOfWordEnum constant QTextCursor::StartOfWord
new QTextCursor_MoveOperationUpEnum constant QTextCursor::Up
new QTextCursor_MoveOperationWordLeftEnum constant QTextCursor::WordLeft
new QTextCursor_MoveOperationWordRightEnum constant QTextCursor::WordRight

Detailed description

[const] bool ==(QTextCursor_MoveOperation other)

Description: Compares the enum class against an enum of it's own type

[const] bool ==(unsigned int other)

Description: Compares the enum class against an integer

[static] new QTextCursor_MoveOperation Down

Description: Enum constant QTextCursor::Down

[static] new QTextCursor_MoveOperation End

Description: Enum constant QTextCursor::End

[static] new QTextCursor_MoveOperation EndOfBlock

Description: Enum constant QTextCursor::EndOfBlock

[static] new QTextCursor_MoveOperation EndOfLine

Description: Enum constant QTextCursor::EndOfLine

[static] new QTextCursor_MoveOperation EndOfWord

Description: Enum constant QTextCursor::EndOfWord

[static] new QTextCursor_MoveOperation Left

Description: Enum constant QTextCursor::Left

[static] new QTextCursor_MoveOperation NextBlock

Description: Enum constant QTextCursor::NextBlock

[static] new QTextCursor_MoveOperation NextCell

Description: Enum constant QTextCursor::NextCell

[static] new QTextCursor_MoveOperation NextCharacter

Description: Enum constant QTextCursor::NextCharacter

[static] new QTextCursor_MoveOperation NextRow

Description: Enum constant QTextCursor::NextRow

[static] new QTextCursor_MoveOperation NextWord

Description: Enum constant QTextCursor::NextWord

[static] new QTextCursor_MoveOperation NoMove

Description: Enum constant QTextCursor::NoMove

[static] new QTextCursor_MoveOperation PreviousBlock

Description: Enum constant QTextCursor::PreviousBlock

[static] new QTextCursor_MoveOperation PreviousCell

Description: Enum constant QTextCursor::PreviousCell

[static] new QTextCursor_MoveOperation PreviousCharacter

Description: Enum constant QTextCursor::PreviousCharacter

[static] new QTextCursor_MoveOperation PreviousRow

Description: Enum constant QTextCursor::PreviousRow

[static] new QTextCursor_MoveOperation PreviousWord

Description: Enum constant QTextCursor::PreviousWord

[static] new QTextCursor_MoveOperation Right

Description: Enum constant QTextCursor::Right

[static] new QTextCursor_MoveOperation Start

Description: Enum constant QTextCursor::Start

[static] new QTextCursor_MoveOperation StartOfBlock

Description: Enum constant QTextCursor::StartOfBlock

[static] new QTextCursor_MoveOperation StartOfLine

Description: Enum constant QTextCursor::StartOfLine

[static] new QTextCursor_MoveOperation StartOfWord

Description: Enum constant QTextCursor::StartOfWord

[static] new QTextCursor_MoveOperation Up

Description: Enum constant QTextCursor::Up

[static] new QTextCursor_MoveOperation WordLeft

Description: Enum constant QTextCursor::WordLeft

[static] new QTextCursor_MoveOperation WordRight

Description: Enum constant QTextCursor::WordRight

[const] void assign(const QTextCursor_MoveOperation other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

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 destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, 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] QTextCursor_MoveOperation dup

Description: Creates a copy of self

[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.

[static] new QTextCursor_MoveOperation new(unsigned int value)

Description: Creates the enum object from an integer

[const] unsigned int to_i

Description: Converts the enum class to an integer

[const] string to_s

Description: Converts the enum class to a string