summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpagesize.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qpagesize.h')
-rw-r--r--src/gui/painting/qpagesize.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/painting/qpagesize.h b/src/gui/painting/qpagesize.h
index 8b99d6af2e..d228f05a4a 100644
--- a/src/gui/painting/qpagesize.h
+++ b/src/gui/painting/qpagesize.h
@@ -246,7 +246,7 @@ public:
void swap(QPageSize &other) { d.swap(other.d); }
- bool operator==(const QPageSize &other) const;
+ friend Q_GUI_EXPORT bool operator==(const QPageSize &lhs, const QPageSize &rhs);
bool isEquivalentTo(const QPageSize &other) const;
bool isValid() const;
@@ -298,6 +298,8 @@ private:
Q_DECLARE_SHARED(QPageSize)
+Q_GUI_EXPORT bool operator==(const QPageSize &lhs, const QPageSize &rhs);
+
#ifndef QT_NO_DEBUG_STREAM
Q_GUI_EXPORT QDebug operator<<(QDebug dbg, const QPageSize &pageSize);
#endif