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/6/head
Michele Calgaro 10 months ago
parent c90f0b8c4c
commit 1e10624f8a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -138,10 +138,10 @@ void TabPage::setCaption( const TQString &caption )
TabBox* TabPage::parentTabBox( void )
{
TQWidget *myParent = this->parentWidget();
if( TQString( myParent->className() ) == TQWIDGETSTACK_OBJECT_NAME_STRING )
if( TQString( myParent->className() ) == "TQWidgetStack" )
{
myParent = myParent->parentWidget();
if( TQString( myParent->className() ) == TQTABWIDGET_OBJECT_NAME_STRING )
if( TQString( myParent->className() ) == "TQTabWidget" )
{
myParent = myParent->parentWidget();
if( TQString( myParent->className() ) == "TabBox" )

Loading…
Cancel
Save