summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qpdfwriter.cpp107
1 files changed, 0 insertions, 107 deletions
diff --git a/src/gui/painting/qpdfwriter.cpp b/src/gui/painting/qpdfwriter.cpp
index d97b663a45..0bb0e81761 100644
--- a/src/gui/painting/qpdfwriter.cpp
+++ b/src/gui/painting/qpdfwriter.cpp
@@ -310,113 +310,6 @@ void QPdfWriter::addFileAttachment(const QString &fileName, const QByteArray &da
d->engine->addFileAttachment(fileName, data, mimeType);
}
-// Defined in QPagedPaintDevice but non-virtual, add QPdfWriter specific doc here
-#ifdef Q_QDOC
-/*!
- \fn bool QPdfWriter::setPageLayout(const QPageLayout &newPageLayout)
- \since 5.3
-
- Sets the PDF page layout to \a newPageLayout.
-
- You should call this before calling QPainter::begin(), or immediately
- before calling newPage() to apply the new page layout to a new page.
- You should not call any painting methods between a call to setPageLayout()
- and newPage() as the wrong paint metrics may be used.
-
- Returns true if the page layout was successfully set to \a newPageLayout.
-
- \sa pageLayout()
-*/
-
-/*!
- \fn bool QPdfWriter::setPageSize(const QPageSize &pageSize)
- \since 5.3
-
- Sets the PDF page size to \a pageSize.
-
- To get the current QPageSize use pageLayout().pageSize().
-
- You should call this before calling QPainter::begin(), or immediately
- before calling newPage() to apply the new page size to a new page.
- You should not call any painting methods between a call to setPageSize()
- and newPage() as the wrong paint metrics may be used.
-
- Returns true if the page size was successfully set to \a pageSize.
-
- \sa pageLayout()
-*/
-
-/*!
- \fn bool QPdfWriter::setPageOrientation(QPageLayout::Orientation orientation)
- \since 5.3
-
- Sets the PDF page \a orientation.
-
- The page orientation is used to define the orientation of the
- page size when obtaining the page rect.
-
- You should call this before calling QPainter::begin(), or immediately
- before calling newPage() to apply the new orientation to a new page.
- You should not call any painting methods between a call to setPageOrientation()
- and newPage() as the wrong paint metrics may be used.
-
- To get the current QPageLayout::Orientation use pageLayout().orientation().
-
- Returns true if the page orientation was successfully set to \a orientation.
-
- \sa pageLayout()
-*/
-
-/*!
- \fn bool QPdfWriter::setPageMargins(const QMarginsF &margins)
- \since 5.3
-
- Set the PDF page \a margins in the current page layout units.
-
- You should call this before calling QPainter::begin(), or immediately
- before calling newPage() to apply the new margins to a new page.
- You should not call any painting methods between a call to setPageMargins()
- and newPage() as the wrong paint metrics may be used.
-
- To get the current page margins use pageLayout().margins().
-
- Returns true if the page margins were successfully set to \a margins.
-
- \sa pageLayout()
-*/
-
-/*!
- \fn bool QPdfWriter::setPageMargins(const QMarginsF &margins, QPageLayout::Unit units)
- \since 5.3
-
- Set the PDF page \a margins defined in the given \a units.
-
- You should call this before calling QPainter::begin(), or immediately
- before calling newPage() to apply the new margins to a new page.
- You should not call any painting methods between a call to setPageMargins()
- and newPage() as the wrong paint metrics may be used.
-
- To get the current page margins use pageLayout().margins().
-
- Returns true if the page margins were successfully set to \a margins.
-
- \sa pageLayout()
-*/
-
-/*!
- \fn QPageLayout QPdfWriter::pageLayout() const
- \since 5.3
-
- Returns the current page layout. Use this method to access the current
- QPageSize, QPageLayout::Orientation, QMarginsF, fullRect() and paintRect().
-
- Note that you cannot use the setters on the returned object, you must either
- call the individual QPdfWriter methods or use setPageLayout().
-
- \sa setPageLayout(), setPageSize(), setPageOrientation(), setPageMargins()
-*/
-#endif
-
/*!
\internal