diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:17 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:23 +0200 |
commit | 9456528aac80c6d4c41fa96d88696dc55414b710 (patch) | |
tree | f9fdcc9cd3c7468503590bec7ed082294a0cffde /src/widgets/widgets/qtextedit.cpp | |
parent | 75552c8f62dcfb8012c306b37c79ec629448d780 (diff) | |
parent | ee38dec6f3aff6f7f277323c5c8488d4cd385693 (diff) |
Merge branch 'docs-refactoring' into master
Change-Id: Iebd1966abace3cdf7f9428dcfc1ded5b124ab113
Diffstat (limited to 'src/widgets/widgets/qtextedit.cpp')
-rw-r--r-- | src/widgets/widgets/qtextedit.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets/widgets/qtextedit.cpp b/src/widgets/widgets/qtextedit.cpp index 217fda61dc..7a7b977b89 100644 --- a/src/widgets/widgets/qtextedit.cpp +++ b/src/widgets/widgets/qtextedit.cpp @@ -472,12 +472,12 @@ void QTextEditPrivate::_q_ensureVisible(const QRectF &_rect) For example, to allow the user to drag and drop an image onto a QTextEdit, you could the implement these functions in the following way: - \snippet doc/src/snippets/textdocument-imagedrop/textedit.cpp 0 + \snippet textdocument-imagedrop/textedit.cpp 0 We add support for image MIME types by returning true. For all other MIME types, we use the default implementation. - \snippet doc/src/snippets/textdocument-imagedrop/textedit.cpp 1 + \snippet textdocument-imagedrop/textedit.cpp 1 We unpack the image from the QVariant held by the MIME source and insert it into the document as a resource. @@ -1583,7 +1583,7 @@ bool QTextEdit::focusNextPrevChild(bool next) Information about the event is passed in the \a event object. - \snippet doc/src/snippets/code/src_gui_widgets_qtextedit.cpp 0 + \snippet code/src_gui_widgets_qtextedit.cpp 0 */ void QTextEdit::contextMenuEvent(QContextMenuEvent *e) { @@ -2143,7 +2143,7 @@ void QTextEdit::setAutoFormatting(AutoFormatting features) It is equivalent to - \snippet doc/src/snippets/code/src_gui_widgets_qtextedit.cpp 1 + \snippet code/src_gui_widgets_qtextedit.cpp 1 */ void QTextEdit::insertPlainText(const QString &text) { @@ -2157,7 +2157,7 @@ void QTextEdit::insertPlainText(const QString &text) It is equivalent to: - \snippet doc/src/snippets/code/src_gui_widgets_qtextedit.cpp 2 + \snippet code/src_gui_widgets_qtextedit.cpp 2 \note When using this function with a style sheet, the style sheet will only apply to the current block in the document. In order to apply a style @@ -2273,10 +2273,10 @@ void QTextEdit::print(QPagedPaintDevice *printer) const #endif /*! \property QTextEdit::tabChangesFocus - \brief whether \gui Tab changes focus or is accepted as input + \brief whether \uicontrol Tab changes focus or is accepted as input In some occasions text edits should not allow the user to input - tabulators or change indentation using the \gui Tab key, as this breaks + tabulators or change indentation using the \uicontrol Tab key, as this breaks the focus chain. The default is false. */ |