summaryrefslogtreecommitdiffstats
path: root/scheck/scheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scheck/scheck.cpp')
-rw-r--r--scheck/scheck.cpp8
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.