diff options
author | Michele Calgaro <[email protected]> | 2023-09-12 21:15:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-12 22:25:59 +0900 |
commit | 9fa5c7dee811c1f66a9faa31ee971bbe1ff14f60 (patch) | |
tree | af4bf88d3b49c4edca9d6e25bded1e4bc6d4b940 /styles/dotnet | |
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 <[email protected]>
(cherry picked from commit 3b2945d7a9f4abad5ce52316ec8c68264a7aa11f)
Diffstat (limited to 'styles/dotnet')
-rw-r--r-- | styles/dotnet/dotnet.cpp | 4 | ||||
-rw-r--r-- | styles/dotnet/dotnet.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/styles/dotnet/dotnet.cpp b/styles/dotnet/dotnet.cpp index 484aec19..0a6e8027 100644 --- a/styles/dotnet/dotnet.cpp +++ b/styles/dotnet/dotnet.cpp @@ -425,7 +425,7 @@ void dotNETstyle::drawTDEStylePrimitive(TDEStylePrimitive kpe, // This function draws primitive elements as well as their masks. -void dotNETstyle::drawPrimitive(TQ_PrimitiveElement pe, +void dotNETstyle::drawPrimitive(PrimitiveElement pe, TQPainter *p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, @@ -1625,7 +1625,7 @@ void dotNETstyle::drawComplexControl(ComplexControl control, case CC_SpinWidget: { const TQSpinWidget *sw = (const TQSpinWidget *) widget; SFlags flags; - TQ_PrimitiveElement pe; + PrimitiveElement pe; TQRect swf = querySubControlMetrics(control, ceData, elementFlags, SC_SpinWidgetFrame, TQStyleOption::Default, sw); swf = visualRect( swf, ceData, elementFlags ); diff --git a/styles/dotnet/dotnet.h b/styles/dotnet/dotnet.h index a90c624a..ea06b093 100644 --- a/styles/dotnet/dotnet.h +++ b/styles/dotnet/dotnet.h @@ -57,7 +57,7 @@ public: 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, @@ -118,7 +118,7 @@ public: const TQStyleOption &o, const TQWidget *w = 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; |