diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 338edc595b..d755aed02a 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -2760,6 +2760,21 @@ \sa QApplication::navigationMode() */ +/*! + \enum Qt::CursorMoveStyle + + This enum describes the movement style available to text cursors. The options + are: + + \value LogicalMoveStyle Within a left-to-right text block, decrease cursor + position when pressing left arrow key, increase cursor position when pressing + the right arrow key. If the text block is right-to-left, the opposite behavior + applies. + \value VisualMoveStyle Pressing the left arrow key will always cause the cursor + to move left, regardless of the text's writing direction. Pressing the right + arrow key will always cause the cursor to move right. +*/ + /*! \enum Qt::TimerType diff --git a/src/gui/text/qtextcursor.cpp b/src/gui/text/qtextcursor.cpp index 2beda0d223..35f1e0fe29 100644 --- a/src/gui/text/qtextcursor.cpp +++ b/src/gui/text/qtextcursor.cpp @@ -2585,19 +2585,4 @@ QTextDocument *QTextCursor::document() const return 0; // document went away } -/*! - \enum Qt::CursorMoveStyle - - This enum describes the movement style available to text cursors. The options - are: - - \value LogicalMoveStyle Within a left-to-right text block, decrease cursor - position when pressing left arrow key, increase cursor position when pressing - the right arrow key. If the text block is right-to-left, the opposite behavior - applies. - \value VisualMoveStyle Pressing the left arrow key will always cause the cursor - to move left, regardless of the text's writing direction. Pressing the right - arrow key will always cause the cursor to move right. -*/ - QT_END_NAMESPACE