diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 12:19:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-08 17:51:10 +0900 |
commit | 686b1ffc0fe1c5773f9a718ed3fa844388b0f402 (patch) | |
tree | 9bed68807141dd2f2c2c457a87672e3839dd8bc2 | |
parent | 6d4f3af00cff52363e56b85ee27d08d46f0e311d (diff) | |
download | tde-style-qtcurve-686b1ffc0fe1c5773f9a718ed3fa844388b0f402.tar.gz tde-style-qtcurve-686b1ffc0fe1c5773f9a718ed3fa844388b0f402.zip |
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 34553b6ef4ad31cad512b6538bc703ac7ca09337)
-rw-r--r-- | style/qtcurve.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp index 054b24d..d0b0055 100644 --- a/style/qtcurve.cpp +++ b/style/qtcurve.cpp @@ -6110,9 +6110,9 @@ void QtCurveStyle::drawComplexControl(ComplexControl control, TQPainter *p, cons if(!sunken && !editable && !(opts.thin&THIN_FRAMES) && ((MO_GLOW==opts.coloredMouseOver && flags&Style_MouseOver)/* || (FOCUS_FULL==opts.focus && flags&Style_HasFocus)*/ || glowFocus)) - drawGlow(p, widget ? TQT_TQRECT_OBJECT(ceData.rect) : r, cg, WIDGET_COMBO, glowFocus ? itsFocusCols : NULL); + drawGlow(p, widget ? ceData.rect : r, cg, WIDGET_COMBO, glowFocus ? itsFocusCols : NULL); else - drawEtch(p, widget ? TQT_TQRECT_OBJECT(ceData.rect) : r, cg, + drawEtch(p, widget ? ceData.rect : r, cg, !editable && EFFECT_SHADOW==opts.buttonEffect && !sunken, editable && (opts.square&SQUARE_ENTRY)); } @@ -6246,7 +6246,7 @@ void QtCurveStyle::drawComplexControl(ComplexControl control, TQPainter *p, cons } if(doEtch) - drawEtch(p, ceData.widgetObjectTypes.contains("TQSpinWidget") ? TQT_TQRECT_OBJECT(ceData.rect) : r, cg, false, (opts.square&SQUARE_ENTRY)); + drawEtch(p, ceData.widgetObjectTypes.contains("TQSpinWidget") ? ceData.rect : r, cg, false, (opts.square&SQUARE_ENTRY)); } itsFormMode=false; break; |