diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-12 21:15:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-12 22:25:59 +0900 |
commit | 9fa5c7dee811c1f66a9faa31ee971bbe1ff14f60 (patch) | |
tree | af4bf88d3b49c4edca9d6e25bded1e4bc6d4b940 /styles/phase/phasestyle.cpp | |
parent | dbcdda93741a5ed9bac8c466ac8abe792bf14d53 (diff) | |
download | tdeartwork-9fa5c7dee811c1f66a9faa31ee971bbe1ff14f60.tar.gz tdeartwork-9fa5c7dee811c1f66a9faa31ee971bbe1ff14f60.zip |
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3b2945d7a9f4abad5ce52316ec8c68264a7aa11f)
Diffstat (limited to 'styles/phase/phasestyle.cpp')
-rw-r--r-- | styles/phase/phasestyle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/styles/phase/phasestyle.cpp b/styles/phase/phasestyle.cpp index 0e713362..6e75e953 100644 --- a/styles/phase/phasestyle.cpp +++ b/styles/phase/phasestyle.cpp @@ -576,7 +576,7 @@ void PhaseStyle::drawPhaseTab(TQPainter *painter, // --------------- // Draw the primitive element -void PhaseStyle::drawPrimitive(TQ_PrimitiveElement element, +void PhaseStyle::drawPrimitive(PrimitiveElement element, TQPainter *painter, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -696,7 +696,7 @@ void PhaseStyle::drawPrimitive(TQ_PrimitiveElement element, drawPhaseBevel(painter, x, y, w, h, group, group.button(), down, !horiz, true); - TQ_PrimitiveElement arrow = ((horiz) ? + PrimitiveElement arrow = ((horiz) ? ((element == PE_ScrollBarAddLine) ? PE_ArrowRight : PE_ArrowLeft) : ((element == PE_ScrollBarAddLine) ? @@ -1492,7 +1492,7 @@ void PhaseStyle::drawControl(TQ_ControlElement element, } if (mi->popup()) { // draw submenu arrow - TQ_PrimitiveElement arrow = reverse_ ? PE_ArrowLeft : PE_ArrowRight; + PrimitiveElement arrow = reverse_ ? PE_ArrowLeft : PE_ArrowRight; int dim = (h-2*ITEMFRAME) / 2; vrect = visualRect(TQRect(x + w - ARROWMARGIN - ITEMFRAME - dim, y + h / 2 - dim / 2, dim, dim), rect); @@ -1784,7 +1784,7 @@ void PhaseStyle::drawComplexControl(TQ_ComplexControl control, return; } - TQ_PrimitiveElement element; + PrimitiveElement element; // draw frame if (controls & SC_SpinWidgetFrame) { |