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 1f00d69db7)
r14.1.x
Michele Calgaro 2 years ago
parent e11ddd0c00
commit 5ef9d501f7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;

Loading…
Cancel
Save