diff options
author | Michele Calgaro <[email protected]> | 2023-11-26 02:19:55 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 02:19:55 +0900 |
commit | 08147c8aedded5fced6eb4cfe7ba918996d3f481 (patch) | |
tree | e5dc3ad7d6950a2a2f71635b1ef5a894f8bdc7d3 /style/qtc_tdestyle.cpp | |
parent | e2b48e1ca33b5b67426d38a51af78ab0d4c1b7cf (diff) | |
download | tde-style-qtcurve-08147c8aedded5fced6eb4cfe7ba918996d3f481.tar.gz tde-style-qtcurve-08147c8aedded5fced6eb4cfe7ba918996d3f481.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'style/qtc_tdestyle.cpp')
-rw-r--r-- | style/qtc_tdestyle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/style/qtc_tdestyle.cpp b/style/qtc_tdestyle.cpp index 548507b..266bb24 100644 --- a/style/qtc_tdestyle.cpp +++ b/style/qtc_tdestyle.cpp @@ -126,7 +126,7 @@ void TQtCTDEStyle::polish( TQStyleControlElementData ceData, ControlElementFlags if ( d->useFilledFrameWorkaround ) { - if ( TQFrame *frame = ::tqqt_cast< TQFrame* >( widget ) ) { + if ( TQFrame *frame = ::tqt_cast< TQFrame* >( widget ) ) { TQFrame::Shape shape = frame->frameShape(); if (shape == TQFrame::ToolBarPanel || shape == TQFrame::MenuBarPanel) installObjectEventHandler(ceData, elementFlags, ptr, this); @@ -143,7 +143,7 @@ void TQtCTDEStyle::unPolish( TQStyleControlElementData ceData, ControlElementFla if ( d->useFilledFrameWorkaround ) { - if ( TQFrame *frame = ::tqqt_cast< TQFrame* >( widget ) ) { + if ( TQFrame *frame = ::tqt_cast< TQFrame* >( widget ) ) { TQFrame::Shape shape = frame->frameShape(); if (shape == TQFrame::ToolBarPanel || shape == TQFrame::MenuBarPanel) removeObjectEventHandler(ceData, elementFlags, ptr, this); @@ -1696,14 +1696,14 @@ bool TQtCTDEStyle::objectEventHandler( TQStyleControlElementData ceData, Control // -- Karol. TQFrame *frame = 0; if ( event->type() == TQEvent::Paint - && (frame = ::tqqt_cast<TQFrame*>(object)) ) + && (frame = ::tqt_cast<TQFrame*>(object)) ) { if (frame->frameShape() != TQFrame::ToolBarPanel && frame->frameShape() != TQFrame::MenuBarPanel) return false; bool horizontal = true; TQPaintEvent* pe = (TQPaintEvent*)event; - TQToolBar *toolbar = ::tqqt_cast< TQToolBar *>( frame ); + TQToolBar *toolbar = ::tqt_cast< TQToolBar *>( frame ); TQRect r = pe->rect(); if (toolbar && toolbar->orientation() == TQt::Vertical) |