summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qtextbrowser.cpp
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2012-03-01 15:28:31 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-02 23:16:25 +0100
commit95d83cb1b68cc4a415d5d80859b4e74472ad7112 (patch)
tree9f6fa892ee78f584224320a195f03419c0fdbc21 /src/widgets/widgets/qtextbrowser.cpp
parent15e136d4e116c1513c106dfbb75e1953a7f3463c (diff)
Remove the usage of deprecated qdoc macros.
QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I519bf9c29b14092e3ab6067612f42bf749eeedf5 Reviewed-by: Shane Kearns <shane.kearns@accenture.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/widgets/widgets/qtextbrowser.cpp')
-rw-r--r--src/widgets/widgets/qtextbrowser.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/widgets/widgets/qtextbrowser.cpp b/src/widgets/widgets/qtextbrowser.cpp
index d9229c12e8..050730ec2a 100644
--- a/src/widgets/widgets/qtextbrowser.cpp
+++ b/src/widgets/widgets/qtextbrowser.cpp
@@ -902,10 +902,10 @@ void QTextBrowser::home()
/*!
The event \a ev is used to provide the following keyboard shortcuts:
\table
- \header \i Keypress \i Action
- \row \i Alt+Left Arrow \i \l backward()
- \row \i Alt+Right Arrow \i \l forward()
- \row \i Alt+Up Arrow \i \l home()
+ \header \li Keypress \li Action
+ \row \li Alt+Left Arrow \li \l backward()
+ \row \li Alt+Right Arrow \li \l forward()
+ \row \li Alt+Up Arrow \li \l home()
\endtable
*/
void QTextBrowser::keyPressEvent(QKeyEvent *ev)
@@ -1068,10 +1068,10 @@ void QTextBrowser::paintEvent(QPaintEvent *e)
depending on the resource type:
\table
- \header \i ResourceType \i QVariant::Type
- \row \i QTextDocument::HtmlResource \i QString or QByteArray
- \row \i QTextDocument::ImageResource \i QImage, QPixmap or QByteArray
- \row \i QTextDocument::StyleSheetResource \i QString or QByteArray
+ \header \li ResourceType \li QVariant::Type
+ \row \li QTextDocument::HtmlResource \li QString or QByteArray
+ \row \li QTextDocument::ImageResource \li QImage, QPixmap or QByteArray
+ \row \li QTextDocument::StyleSheetResource \li QString or QByteArray
\endtable
*/
QVariant QTextBrowser::loadResource(int /*type*/, const QUrl &name)
@@ -1146,10 +1146,10 @@ void QTextBrowser::clearHistory()
Returns the url of the HistoryItem.
\table
- \header \i Input \i Return
- \row \i \a{i} < 0 \i \l backward() history
- \row \i\a{i} == 0 \i current, see QTextBrowser::source()
- \row \i \a{i} > 0 \i \l forward() history
+ \header \li Input \li Return
+ \row \li \a{i} < 0 \li \l backward() history
+ \row \li\a{i} == 0 \li current, see QTextBrowser::source()
+ \row \li \a{i} > 0 \li \l forward() history
\endtable
\since 4.4
@@ -1164,10 +1164,10 @@ QUrl QTextBrowser::historyUrl(int i) const
Returns the documentTitle() of the HistoryItem.
\table
- \header \i Input \i Return
- \row \i \a{i} < 0 \i \l backward() history
- \row \i \a{i} == 0 \i current, see QTextBrowser::source()
- \row \i \a{i} > 0 \i \l forward() history
+ \header \li Input \li Return
+ \row \li \a{i} < 0 \li \l backward() history
+ \row \li \a{i} == 0 \li current, see QTextBrowser::source()
+ \row \li \a{i} > 0 \li \l forward() history
\endtable
\snippet doc/src/snippets/code/src_gui_widgets_qtextbrowser.cpp 0