@ -74,7 +74,7 @@ namespace SingleShotPool
{
{
TQTimer * timer = static_cast < TQTimer * > ( parent - > child ( slot ) ) ;
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 ( ) ;
TQWidget : : polish ( ) ;
int h = 0 ;
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 ( ) ) {
for ( TQObject * o = list - > first ( ) ; o ; o = list - > next ( ) ) {
int _h = static_cast < TQWidget * > ( o ) - > minimumSizeHint ( ) . height ( ) ;
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;
// 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 ) ;
static_cast < TQLabel * > ( o ) - > setIndent ( 4 ) ;
}
}
@ -172,7 +172,7 @@ StatusBar::polish()
void
void
StatusBar : : paintEvent ( TQPaintEvent * )
StatusBar : : paintEvent ( TQPaintEvent * )
{
{
TQObjectList * list = queryList ( " TQWidget " , 0 , false , false ) ;
TQObjectList * list = queryList ( TQWIDGET_OBJECT_NAME_STRING , 0 , false , false ) ;
TQPainter p ( this ) ;
TQPainter p ( this ) ;
for ( TQObject * o = list - > first ( ) ; o ; o = list - > next ( ) ) {
for ( TQObject * o = list - > first ( ) ; o ; o = list - > next ( ) ) {