diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:27 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-21 19:10:24 +0900 |
commit | 3ec2e5d1452640f61934f62bb4d5820c09812710 (patch) | |
tree | 850cb1382cc875ec62d4ae1811247f5fddc0d69b /scheck | |
parent | e116e9630fefaa0aa8d999e8eb34949ca8fa0724 (diff) | |
download | tdesdk-3ec2e5d1452640f61934f62bb4d5820c09812710.tar.gz tdesdk-3ec2e5d1452640f61934f62bb4d5820c09812710.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'scheck')
-rw-r--r-- | scheck/scheck.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scheck/scheck.cpp b/scheck/scheck.cpp index 5c5e2579..2d904af9 100644 --- a/scheck/scheck.cpp +++ b/scheck/scheck.cpp @@ -909,7 +909,7 @@ void StyleCheckStyle::accelManageRecursive(TQWidget* widget) while ((walk = iter.current())) { if (walk->isWidgetType()) - accelManageRecursive(TQT_TQWIDGET(walk)); + accelManageRecursive(static_cast<TQWidget*>(walk)); ++iter; } } @@ -2637,7 +2637,7 @@ bool StyleCheckStyle::objectEventHandler( const TQStyleControlElementData &ceDat if ( event->type() == TQEvent::Paint && object->inherits("TQLabel") ) { - TQLabel* lb = static_cast<TQLabel*>(TQT_TQWIDGET(object)); + TQLabel* lb = static_cast<TQLabel*>(object); if (lb->pixmap() || lb->picture() || lb->movie() || (lb->textFormat() == TQt::RichText) || (lb->textFormat() == TQt::AutoText && TQStyleSheet::mightBeRichText(lb->text())) ) { @@ -2702,12 +2702,12 @@ bool StyleCheckStyle::objectEventHandler( const TQStyleControlElementData &ceDat if ( event->type() == TQEvent::Paint && object->inherits("TQGroupBox") ) { TQPaintEvent * pevent = static_cast<TQPaintEvent*>(event); - TQGroupBox* gb = static_cast<TQGroupBox*>(TQT_TQWIDGET(object)); + TQGroupBox* gb = static_cast<TQGroupBox*>(object); bool nestedGroupBox = false; TQString stripped_title = removedXX(stripAccelViolations(gb->title())); //Walk parent hierarchy to check whether any are groupboxes too.. - TQObject* parent = TQT_TQOBJECT(gb); + TQObject* parent = gb; // GCC suggested parentheses around assignment used as truth value // I suggested that it could eat me. GCC won. |