summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpagelayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qpagelayout.h')
-rw-r--r--src/gui/painting/qpagelayout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qpagelayout.h b/src/gui/painting/qpagelayout.h
index 0ca1682b20..e63f6f4d39 100644
--- a/src/gui/painting/qpagelayout.h
+++ b/src/gui/painting/qpagelayout.h
@@ -143,6 +143,8 @@ private:
Q_DECLARE_SHARED(QPageLayout)
Q_GUI_EXPORT bool operator==(const QPageLayout &lhs, const QPageLayout &rhs);
+inline bool operator!=(const QPageLayout &lhs, const QPageLayout &rhs)
+{ return !operator==(lhs, rhs); }
#ifndef QT_NO_DEBUG_STREAM
Q_GUI_EXPORT QDebug operator<<(QDebug dbg, const QPageLayout &pageLayout);