summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:37:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:37:19 +0900
commit7c768755501fac9002f4ba4a4a9c83ef1dc2abd7 (patch)
treee1c181147777eb1858efbbae8bf2e14c68ff7717
parentbc71670331e16b15fc30214cb85c409b8c91bb9c (diff)
downloadtdetoys-7c768755501fac9002f4ba4a4a9c83ef1dc2abd7.tar.gz
tdetoys-7c768755501fac9002f4ba4a4a9c83ef1dc2abd7.zip
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>
-rw-r--r--fifteenapplet/qttableview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fifteenapplet/qttableview.cpp b/fifteenapplet/qttableview.cpp
index 0048c5b..67d9c13 100644
--- a/fifteenapplet/qttableview.cpp
+++ b/fifteenapplet/qttableview.cpp
@@ -1391,7 +1391,7 @@ void QtTableView::paintEvent( TQPaintEvent *e )
TQRect r = viewR;
r.setLeft( xPos );
r.setBottom( yPos<maxY?yPos:maxY );
- if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) )
+ if ( inherits( "TQMultiLineEdit" ) )
paint.fillRect( r.intersect( updateR ), g.base() );
else
paint.eraseRect( r.intersect( updateR ) );
@@ -1399,7 +1399,7 @@ void QtTableView::paintEvent( TQPaintEvent *e )
if ( yPos <= maxY ) {
TQRect r = viewR;
r.setTop( yPos );
- if ( inherits( TQMULTILINEEDIT_OBJECT_NAME_STRING ) )
+ if ( inherits( "TQMultiLineEdit" ) )
paint.fillRect( r.intersect( updateR ), g.base() );
else
paint.eraseRect( r.intersect( updateR ) );