Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/23/head
Michele Calgaro 10 months ago
parent bc71670331
commit 7c76875550
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1391,7 +1391,7 @@ void QtTableView::paintEvent( TQPaintEvent *e )
TQRect r = viewR; TQRect r = viewR;
r.setLeft( xPos ); r.setLeft( xPos );
r.setBottom( yPos<maxY?yPos:maxY ); r.setBottom( yPos<maxY?yPos:maxY );
if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) ) if ( inherits( "TQMultiLineEdit" ) )
paint.fillRect( r.intersect( updateR ), g.base() ); paint.fillRect( r.intersect( updateR ), g.base() );
else else
paint.eraseRect( r.intersect( updateR ) ); paint.eraseRect( r.intersect( updateR ) );
@ -1399,7 +1399,7 @@ void QtTableView::paintEvent( TQPaintEvent *e )
if ( yPos <= maxY ) { if ( yPos <= maxY ) {
TQRect r = viewR; TQRect r = viewR;
r.setTop( yPos ); r.setTop( yPos );
if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) ) if ( inherits( "TQMultiLineEdit" ) )
paint.fillRect( r.intersect( updateR ), g.base() ); paint.fillRect( r.intersect( updateR ), g.base() );
else else
paint.eraseRect( r.intersect( updateR ) ); paint.eraseRect( r.intersect( updateR ) );

Loading…
Cancel
Save