summaryrefslogtreecommitdiffstats
path: root/src/kernel/qstyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qstyle.h')
-rw-r--r--src/kernel/qstyle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/qstyle.h b/src/kernel/qstyle.h
index 3f4ae79..7b1edb3 100644
--- a/src/kernel/qstyle.h
+++ b/src/kernel/qstyle.h
@@ -287,9 +287,14 @@ class Q_EXPORT QStyleControlElementData {
Q_UINT32 topLevelWidgetFlags;
QPixmap paletteBgPixmap;
+#ifdef ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY
+ public:
+ QStyleControlElementData(const QStyleControlElementData&);
+#else // ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY
private:
// Disable copy constructor
QStyleControlElementData(const QStyleControlElementData&);
+#endif // ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY
};