diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-12-22 23:49:26 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-12-22 23:49:26 -0600 |
| commit | 9ec64b2c9b7c0d8a2eefcb9dea6964c62792aff7 (patch) | |
| tree | 5e409d433ad9fb164323c7cfbc9b0b24bc349417 /src/kernel/qstyle.h | |
| parent | d1b6b7be7d5bc7754a143b424295a267bbdafdbd (diff) | |
| download | qt3-9ec64b2c9b7c0d8a2eefcb9dea6964c62792aff7.tar.gz qt3-9ec64b2c9b7c0d8a2eefcb9dea6964c62792aff7.zip | |
Add slow QStyleControlElementData copy constructor for use with python
Diffstat (limited to 'src/kernel/qstyle.h')
| -rw-r--r-- | src/kernel/qstyle.h | 5 |
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 }; |
