From 1e10624f8ad3e6ca922186421f4664e90af292ad Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 20:55:32 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- knights/tabpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/knights/tabpage.cpp b/knights/tabpage.cpp index 48f3656..8c2752f 100644 --- a/knights/tabpage.cpp +++ b/knights/tabpage.cpp @@ -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" ) -- cgit v1.2.1