The following style function definitions have changed:
drawPrimitive
drawControl
drawControlMask
subRect
drawComplexControl
drawComplexControlMask
querySubControlMetrics
querySubControl
pixelMetric
sizeFromContents
styleHint
stylePixmap
visualRect
drawKStylePrimitive
polish
unPolish
The following new functions have been added:
applicationPolish
applicationUnPolish
installObjectEventHandler
removeObjectEventHandler
objectEventHandler
widgetActionRequest
Additionally, SH_UnderlineAccelerator has been extended with a new style hint, SH_HideUnderlineAcceleratorWhenAltUp
Porting an existing style to the new API is relatively straightforward; simply update the function definitions in the existing style with the new definition prototypes and cast the passed pointer to TQWidget or TQObject where appropriate.