Automated update from Qt3

pull/1/head
Timothy Pearson 11 years ago
parent 523c1fd99e
commit 048b28dbf1

@ -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
};

@ -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

Loading…
Cancel
Save