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-13 09:58:27 +0900
commit0786899bced97470967f1641e7c1691d0ed6c57c (patch)
treeec54f05a1b736d642899d6bf30a521ddf0873c09
parentfe6de6f4bc8a0a7d86c2c3dc6413170214206cff (diff)
downloadtdetoys-0786899bced97470967f1641e7c1691d0ed6c57c.tar.gz
tdetoys-0786899bced97470967f1641e7c1691d0ed6c57c.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> (cherry picked from commit 7c768755501fac9002f4ba4a4a9c83ef1dc2abd7)
-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 ) );