Automated update from Qt3

pull/1/head
Timothy Pearson 12 years ago
parent b0bd2889fa
commit af6b35e2eb

@ -178,6 +178,11 @@ class TQStyleControlElementDockWidgetData {
TQt::Orientation areaOrientation;
};
class TQStyleControlElementToolBarWidgetData {
public:
TQt::Orientation orientation;
};
class TQStyleControlElementGenericWidgetData {
public:
TQStringList widgetObjectTypes;
@ -270,6 +275,7 @@ class Q_EXPORT TQStyleControlElementData {
TQ_UINT32 frameStyle;
TQRect sliderRect;
TQPainter* activePainter;
TQStyleControlElementToolBarWidgetData toolBarData;
public:
TQStyleControlElementData();

@ -576,6 +576,10 @@ TQStyleControlElementData populateControlElementDataFromWidget(const TQWidget* w
}
ceData.dwData.closeEnabled = dw->isCloseEnabled();
}
const TQToolBar * toolbar = dynamic_cast<const TQToolBar*>(parentWidget);
if (toolbar) {
ceData.toolBarData.orientation = toolbar->orientation();
}
}
TQCheckListItem *item = opt.checkListItem();

Loading…
Cancel
Save