summaryrefslogtreecommitdiffstats
path: root/cervisia
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:34:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 10:04:55 +0900
commit41f63196dd0642327c581dc22e0c206b35a22cb7 (patch)
tree6cdadc0b9a2cbb418848ecb32c289a8c7f7624db /cervisia
parent365f31354bad56db26993380120a4d5e26fc133d (diff)
downloadtdesdk-41f63196dd0642327c581dc22e0c206b35a22cb7.tar.gz
tdesdk-41f63196dd0642327c581dc22e0c206b35a22cb7.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 8dac8f1a52cf3a2983af451aff69ca268cfbd6d7)
Diffstat (limited to 'cervisia')
-rw-r--r--cervisia/qttableview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cervisia/qttableview.cpp b/cervisia/qttableview.cpp
index 43c82cf2..02f8aea1 100644
--- a/cervisia/qttableview.cpp
+++ b/cervisia/qttableview.cpp
@@ -1390,7 +1390,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 ) );
@@ -1398,7 +1398,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 ) );