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>
pull/21/head
Michele Calgaro 1 year ago
parent 53442b53d0
commit 1f00d69db7
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