QPageSize: mark ctors explicit
A QSize or QSizeF is not an accurate representation of a QPageSize, so the corresponding constructor should be explicit. Change-Id: I6b1808e5f93e3caef948c0e5300bd3c20e3c4210 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: John Layt <jlayt@kde.org>
This commit is contained in:
parent
c2b2ef32ca
commit
6115ba4f4e
@ -230,10 +230,10 @@ public:
|
||||
|
||||
QPageSize();
|
||||
explicit QPageSize(QPageSize::PageSizeId pageSizeId);
|
||||
QPageSize(const QSize &pointSize,
|
||||
explicit QPageSize(const QSize &pointSize,
|
||||
const QString &name = QString(),
|
||||
QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch);
|
||||
QPageSize(const QSizeF &size, QPageSize::Unit units,
|
||||
explicit QPageSize(const QSizeF &size, QPageSize::Unit units,
|
||||
const QString &name = QString(),
|
||||
QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch);
|
||||
QPageSize(const QPageSize &other);
|
||||
|
Loading…
Reference in New Issue
Block a user