summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/styles
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/styles')
-rw-r--r--tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp b/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp
index 12cdbf5d3d..0fb3060dc8 100644
--- a/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp
+++ b/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp
@@ -1168,6 +1168,22 @@ class ProxyStyle : public QStyle
return style->generatedIconPixmap(mode, pix, opt);
}
+ int layoutSpacing(QSizePolicy::ControlType c1,
+ QSizePolicy::ControlType c2,
+ Qt::Orientation ori,
+ const QStyleOption *opt,
+ const QWidget *w) const
+ {
+ return style->layoutSpacing(c1, c2, ori, opt, w);
+ }
+
+ QIcon standardIcon(StandardPixmap si,
+ const QStyleOption *opt,
+ const QWidget *w) const
+ {
+ return style->standardIcon(si, opt, w);
+ }
+
private:
QStyle *style;
};