summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qcanvasitem_imp.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 10:19:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 10:00:27 +0900
commit5ef9d501f701240ef469f8f5d8685d0167985070 (patch)
tree5524aef52d830497bccc8278982b68590d30a2f9 /kjsembed/qtbindings/qcanvasitem_imp.cpp
parente11ddd0c0030f34d0ca3f11da154d0403fc34ce3 (diff)
downloadtdebindings-5ef9d501f701240ef469f8f5d8685d0167985070.tar.gz
tdebindings-5ef9d501f701240ef469f8f5d8685d0167985070.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 1f00d69db7629853a25425ae5f3ca06d480e5430)
Diffstat (limited to 'kjsembed/qtbindings/qcanvasitem_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qcanvasitem_imp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kjsembed/qtbindings/qcanvasitem_imp.cpp b/kjsembed/qtbindings/qcanvasitem_imp.cpp
index 278252eb..36105a92 100644
--- a/kjsembed/qtbindings/qcanvasitem_imp.cpp
+++ b/kjsembed/qtbindings/qcanvasitem_imp.cpp
@@ -163,7 +163,7 @@ TQCanvasItem *TQCanvasItemImp::toTQCanvasItem( KJS::Object &self )
if ( !op )
return 0;
/*
- if ( !op->inherits(TQCANVASITEM_OBJECT_NAME_STRING) ) {
+ if ( !op->inherits("TQCanvasItem") ) {
kdDebug() << "Typename of opaque canvas item is " << op->typeName() << endl;
// Check superclasses
return 0;