Fix print support docs
authorLars Knoll <lars.knoll@digia.com>
Thu, 29 Nov 2012 09:41:22 +0000 (10:41 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 29 Nov 2012 23:48:50 +0000 (00:48 +0100)
Make sure qdoc generates a correct overview for the module.

Change-Id: I6ea95638459201a0bb09f2e645173ade3a36f0e0
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/printsupport/dialogs/qabstractprintdialog.cpp
src/printsupport/doc/src/qtprintsupport-index.qdoc [moved from src/printsupport/doc/src/printing.qdoc with 99% similarity]
src/printsupport/doc/src/qtprintsupport-module.qdoc [moved from src/printsupport/doc/src/qtprintsupport.qdoc with 91% similarity]
src/printsupport/kernel/qprinter.cpp

index 898e0f4..009de28 100644 (file)
@@ -66,7 +66,7 @@ class QPrintDialogPrivate : public QAbstractPrintDialogPrivate
     customize settings shown in print dialogs, but it is not used directly.
     Use QPrintDialog to display a print dialog in your application.
 
-    \sa QPrintDialog, QPrinter, {Printing with Qt}
+    \sa QPrintDialog, QPrinter
 */
 
 /*!
similarity index 99%
rename from src/printsupport/doc/src/printing.qdoc
rename to src/printsupport/doc/src/qtprintsupport-index.qdoc
index d461672..414ad57 100644 (file)
 ****************************************************************************/
 
 /*!
-  \group printing
-  \title Printer and Printing APIs
-  \brief Classes for producing printed output
-  \ingroup groups
-*/
-
-
-/*!
-  \page printing.html
-  \title Printing with Qt
+  \page qtprintsupport-index.html
+  \title Qt Print Support
   \ingroup qt-graphics
 
   \brief A guide to producing printed output with Qt's paint system and widgets.
   (including logos) in conjunction with PDF; e.g. "Adobe PDF". Please refer
   to \l{http://www.adobe.com}{www.adobe.com} for guidelines.
 */
+
+/*!
+  \group printing
+  \title Printer and Printing APIs
+  \brief Classes for producing printed output
+  \ingroup groups
+*/
 
 /*!
     \module QtPrintSupport
-    \title QtPrintSupport Module
-    \ingroup modules
+    \title Qt Print Support Module
+    \brief The Qt PrintSupport module provides classes to make printing easier and portable.
 
-    \brief The QtPrintSupport module provides classes to make printing
-    easier and portable.
+    \ingroup modules
+    \ingroup technology-apis
 
     To include the definitions of the module's classes, use the
     following directive:
index bc8ce5f..dcb09aa 100644 (file)
@@ -268,7 +268,7 @@ void QPrinterPrivate::addToManualSetList(QPrintEngine::PrintEnginePropertyKey ke
   extend printing support to cover new types of printing subsystem by
   subclassing QPrintEngine and reimplementing its interface.
 
-  \sa QPrintDialog, {Printing with Qt}
+  \sa QPrintDialog, {Qt Print Support}
 */
 
 /*!
@@ -1263,7 +1263,7 @@ void QPrinter::setCollateCopies(bool collate)
   printer's margins, so the application must account for the margins
   itself.
 
-  \sa fullPage(), setPaperSize(), width(), height(), {Printing with Qt}
+  \sa fullPage(), setPaperSize(), width(), height()
 */
 
 void QPrinter::setFullPage(bool fp)