diff options
author | Michele Calgaro <[email protected]> | 2023-09-12 21:15:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-12 21:15:32 +0900 |
commit | 0f36f8966371d24decc0740ccf9f8b0cc2c57838 (patch) | |
tree | 13adb17728b88c3e7bdcc83fd2c2a131939f7770 /tdestyles/highcolor | |
parent | cc5cf548f13ee0c43c41ac60ad056765e7dccb26 (diff) | |
download | tdelibs-0f36f8966371d24decc0740ccf9f8b0cc2c57838.tar.gz tdelibs-0f36f8966371d24decc0740ccf9f8b0cc2c57838.zip |
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdestyles/highcolor')
-rw-r--r-- | tdestyles/highcolor/highcolor.cpp | 4 | ||||
-rw-r--r-- | tdestyles/highcolor/highcolor.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tdestyles/highcolor/highcolor.cpp b/tdestyles/highcolor/highcolor.cpp index 6f06a18e4..f15c335cb 100644 --- a/tdestyles/highcolor/highcolor.cpp +++ b/tdestyles/highcolor/highcolor.cpp @@ -251,7 +251,7 @@ void HighColorStyle::renderMenuBlendPixmap( KPixmap& pix, const TQColorGroup &cg // This function draws primitive elements as well as their masks. -void HighColorStyle::drawPrimitive( TQ_PrimitiveElement pe, +void HighColorStyle::drawPrimitive( PrimitiveElement pe, TQPainter *p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -1493,7 +1493,7 @@ void HighColorStyle::drawControl( TQ_ControlElement element, // Does the menu item have a submenu? if ( mi->popup() ) { - TQ_PrimitiveElement arrow = reverse ? PE_ArrowLeft : PE_ArrowRight; + PrimitiveElement arrow = reverse ? PE_ArrowLeft : PE_ArrowRight; int dim = pixelMetric(PM_MenuButtonIndicator, ceData, elementFlags); TQRect vr = visualRect( TQRect( x + w - arrowHMargin - 2*itemFrame - dim, y + h / 2 - dim / 2, dim, dim), r ); diff --git a/tdestyles/highcolor/highcolor.h b/tdestyles/highcolor/highcolor.h index 93e2658dd..55b2fce8e 100644 --- a/tdestyles/highcolor/highcolor.h +++ b/tdestyles/highcolor/highcolor.h @@ -81,7 +81,7 @@ class HighColorStyle : public TDEStyle const TQStyleOption& = TQStyleOption::Default, const TQWidget* widget = 0 ) const; - void drawPrimitive( TQ_PrimitiveElement pe, + void drawPrimitive( PrimitiveElement pe, TQPainter* p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -158,7 +158,7 @@ class HighColorStyle : public TDEStyle const TQStyleOption& = TQStyleOption::Default, const TQWidget *widget = 0 ) const; - int styleHint(TQ_StyleHint, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, + int styleHint(StyleHint, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQStyleOption & = TQStyleOption::Default, TQStyleHintReturn * = 0, const TQWidget * = 0 ) const; |