diff options
author | Timothy Pearson <[email protected]> | 2013-12-22 23:50:05 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-12-22 23:50:05 -0600 |
commit | 048b28dbf150e3c4529691381e85362ecae4d112 (patch) | |
tree | 8142e6fa003c74d91e70052039ac76ad17dfd0e8 | |
parent | 523c1fd99e9ba466064edfc235104ec5190e5ca3 (diff) | |
download | tqt3-048b28dbf150e3c4529691381e85362ecae4d112.tar.gz tqt3-048b28dbf150e3c4529691381e85362ecae4d112.zip |
Automated update from Qt3
-rw-r--r-- | src/kernel/ntqstyle.h | 5 | ||||
-rw-r--r-- | src/kernel/qstyle.cpp | 63 |
2 files changed, 68 insertions, 0 deletions
diff --git a/src/kernel/ntqstyle.h b/src/kernel/ntqstyle.h index fe16c4253..01a3e8213 100644 --- a/src/kernel/ntqstyle.h +++ b/src/kernel/ntqstyle.h @@ -287,9 +287,14 @@ class Q_EXPORT TQStyleControlElementData { TQ_UINT32 topLevelWidgetFlags; TQPixmap paletteBgPixmap; +#ifdef ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY + public: + TQStyleControlElementData(const TQStyleControlElementData&); +#else // ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY private: // Disable copy constructor TQStyleControlElementData(const TQStyleControlElementData&); +#endif // ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY }; diff --git a/src/kernel/qstyle.cpp b/src/kernel/qstyle.cpp index 189a97575..8529305dd 100644 --- a/src/kernel/qstyle.cpp +++ b/src/kernel/qstyle.cpp @@ -2836,4 +2836,67 @@ TQStyleControlElementData::~TQStyleControlElementData() { // } +TQStyleControlElementData::TQStyleControlElementData(const TQStyleControlElementData& orig) { + isNull = orig.isNull; + widgetObjectTypes = orig.widgetObjectTypes; + allDataPopulated = orig.allDataPopulated; + wflags = orig.wflags; + windowState = orig.windowState; + bgPixmap = orig.bgPixmap; + bgBrush = orig.bgBrush; + bgColor = orig.bgColor; + bgOffset = orig.bgOffset; + backgroundMode = orig.backgroundMode; + fgPixmap = orig.fgPixmap; + fgColor = orig.fgColor; + colorGroup = orig.colorGroup; + geometry = orig.geometry; + rect = orig.rect; + pos = orig.pos; + icon = orig.icon; + iconSet = orig.iconSet; + text = orig.text; + orientation = orig.orientation; + activeItemPaletteBgColor = orig.activeItemPaletteBgColor; + palette = orig.palette; + totalSteps = orig.totalSteps; + currentStep = orig.currentStep; + tickMarkSetting = orig.tickMarkSetting; + tickInterval = orig.tickInterval; + minSteps = orig.minSteps; + maxSteps = orig.maxSteps; + startStep = orig.startStep; + pageStep = orig.pageStep; + lineStep = orig.lineStep; + dlgVisibleButtons = orig.dlgVisibleButtons; + dlgVisibleSizeHints = orig.dlgVisibleSizeHints; + progressText = orig.progressText; + textLabel = orig.textLabel; + font = orig.font; + percentageVisible = orig.percentageVisible; + dwData = orig.dwData; + toolButtonTextPosition = orig.toolButtonTextPosition; + popupDelay = orig.popupDelay; + titleBarData = orig.titleBarData; + spinWidgetData = orig.spinWidgetData; + parentWidgetData = orig.parentWidgetData; + viewportData = orig.viewportData; + listViewData = orig.listViewData; + tabBarData = orig.tabBarData; + checkListItemData = orig.checkListItemData; + comboBoxLineEditFlags = orig.comboBoxLineEditFlags; + frameStyle = orig.frameStyle; + sliderRect = orig.sliderRect; + activePainter = orig.activePainter; + toolBarData = orig.toolBarData; + comboBoxListBoxFlags = orig.comboBoxListBoxFlags; + paletteBgColor = orig.paletteBgColor; + parentWidgetFlags = orig.parentWidgetFlags; + name = orig.name; + caption = orig.caption; + topLevelWidgetData = orig.topLevelWidgetData; + topLevelWidgetFlags = orig.topLevelWidgetFlags; + paletteBgPixmap = orig.paletteBgPixmap; +} + #endif // QT_NO_STYLE |