summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2021-10-26 11:32:58 +0200
committerPaul Wicking <paul.wicking@qt.io>2021-11-15 20:32:16 +0000
commitd518dd7d0745f9e5c4e65b3f63e5a2204c7fd816 (patch)
tree733345186470d891d7fcf934273a18850e69443a /examples
parent68e4cd6c2ec1fb92110fed1d31f320bdc5ddd766 (diff)
Doc: Fix qdoc warnings and enable zero warning limit
Change-Id: Ifa2914e7bca9c224670a1891785d0ba8262cd61b Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc b/examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc
index 8024c0a51..0cdd671be 100644
--- a/examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc
+++ b/examples/pdfwidgets/pdfviewer/doc/src/pdfviewer.qdoc
@@ -26,13 +26,15 @@
****************************************************************************/
/*!
- \example pdfwidgets/pdfviewer
+ \example pdfviewer
\ingroup qtpdf-examples
\title PDF Viewer Example
\brief Renders PDF documents.
+ \omit
//! TODO add thumbnail \image pdfviewer.png
+ \endomit
\e {PDF Viewer} demonstrates how to use the QPdfDocument class to render
PDF documents and the QPdfPageNavigation class to navigate them.
@@ -49,8 +51,8 @@
The MainWindow class inherits the QMainWindow class:
- \quotefromfile pdfwidgets/pdfviewer/mainwindow.h
- \skipto public QMainWindow
+ \quotefromfile pdfviewer/mainwindow.h
+ \skipto public
\printuntil ~MainWindow()
The class declares public and private slots that match the actions of the
@@ -73,8 +75,8 @@
The actual setup of the different objects is done in the MainWindow
constructor:
- \quotefromfile pdfwidgets/pdfviewer/mainwindow.cpp
- \skipto MainWindow::
+ \quotefromfile pdfviewer/mainwindow.cpp
+ \skipto MainWindow
\printuntil {
The constructor first calls \c setupUi() to construct the zoom and page