From d7e1426e1e76ddc4089e813450f021beb194ac74 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Fri, 17 Aug 2012 15:10:01 +0200 Subject: [PATCH] Move Qt::CursorMoveStyle docs to the right file. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I26cc7336b33495a2649285cfeddeadec62e94d83 Reviewed-by: J-P Nurmi Reviewed-by: Jan-Arve Sæther --- src/corelib/global/qnamespace.qdoc | 15 +++++++++++++++ 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 338edc5..d755aed 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 2beda0d..35f1e0f 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 -- 2.7.4