@ -74,7 +74,7 @@ namespace SingleShotPool
{
TQTimer * timer = static_cast < TQTimer * > ( parent - > child ( slot ) ) ;
return timer & & timer - > isA ( " TQTimer " ) & & timer - > isActive ( ) ;
return timer & & timer - > isA ( TQTIMER_OBJECT_NAME_STRING ) & & timer - > isActive ( ) ;
}
}
@ -148,7 +148,7 @@ StatusBar::polish()
TQWidget : : polish ( ) ;
int h = 0 ;
TQObjectList * list = queryList ( " TQWidget " , 0 , false , false ) ;
TQObjectList * list = queryList ( TQWIDGET_OBJECT_NAME_STRING , 0 , false , false ) ;
for ( TQObject * o = list - > first ( ) ; o ; o = list - > next ( ) ) {
int _h = static_cast < TQWidget * > ( o ) - > minimumSizeHint ( ) . height ( ) ;
@ -157,7 +157,7 @@ StatusBar::polish()
// debug() << o->className() << ", " << o->name() << ": " << _h << ": " << static_cast<TQWidget*>(o)->minimumHeight() << endl;
if ( o - > inherits ( " TQLabel " ) )
if ( o - > inherits ( TQLABEL_OBJECT_NAME_STRING ) )
static_cast < TQLabel * > ( o ) - > setIndent ( 4 ) ;
}
@ -172,7 +172,7 @@ StatusBar::polish()
void
StatusBar : : paintEvent ( TQPaintEvent * )
{
TQObjectList * list = queryList ( " TQWidget " , 0 , false , false ) ;
TQObjectList * list = queryList ( TQWIDGET_OBJECT_NAME_STRING , 0 , false , false ) ;
TQPainter p ( this ) ;
for ( TQObject * o = list - > first ( ) ; o ; o = list - > next ( ) ) {