diff options
author | Michele Calgaro <[email protected]> | 2023-09-12 21:15:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-12 22:25:25 +0900 |
commit | 5cb1ea082794e19d062e004023ce44fae093d5bc (patch) | |
tree | 89609f35d633fe5f71d36d0948b118bbf16a2209 /tdestyles/keramik/keramik.cpp | |
parent | c7cf5fd96d2696a522b5a377c53899d8d7bd5d80 (diff) | |
download | tdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.tar.gz tdelibs-5cb1ea082794e19d062e004023ce44fae093d5bc.zip |
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 0f36f8966371d24decc0740ccf9f8b0cc2c57838)
Diffstat (limited to 'tdestyles/keramik/keramik.cpp')
-rw-r--r-- | tdestyles/keramik/keramik.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdestyles/keramik/keramik.cpp b/tdestyles/keramik/keramik.cpp index 53d6f4316..e5e4699cc 100644 --- a/tdestyles/keramik/keramik.cpp +++ b/tdestyles/keramik/keramik.cpp @@ -123,7 +123,7 @@ namespace namespace { - void drawKeramikArrow(TQPainter* p, TQColorGroup cg, TQRect r, TQStyle::TQ_PrimitiveElement pe, bool down, bool enabled) + void drawKeramikArrow(TQPainter* p, TQColorGroup cg, TQRect r, TQStyle::PrimitiveElement pe, bool down, bool enabled) { TQPointArray a; @@ -543,7 +543,7 @@ static void renderToolbarWidgetBackground(TQPainter* painter, const TQStyleContr } // This function draws primitive elements as well as their masks. -void KeramikStyle::drawPrimitive( TQ_PrimitiveElement pe, +void KeramikStyle::drawPrimitive( PrimitiveElement pe, TQPainter *p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -1831,7 +1831,7 @@ void KeramikStyle::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) - itemFrame; TQRect vr = visualRect( TQRect( x + w - arrowHMargin - itemFrame - dim, y + h / 2 - dim / 2, dim, dim), r ); |