diff options
-rw-r--r-- | src/corelib/global/qnamespace.qdoc | 15 | ||||
-rw-r--r-- | src/gui/text/qtextcursor.cpp | 15 |
2 files changed, 15 insertions, 15 deletions
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 @@ -2761,6 +2761,21 @@ */ /*! + \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 The timer type indicates how accurate a timer can be. 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 |