summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 20:55:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 17:40:07 +0900
commitfd77e9f181aacd80e73cbc243c6a3577a66224db (patch)
treebbca3a48851e2793135009e826a0c1082b4e84ef
parentc90f0b8c4c823e71ed23db7577b30aa643d3c03f (diff)
downloadknights-fd77e9f1.tar.gz
knights-fd77e9f1.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 1e10624f8ad3e6ca922186421f4664e90af292ad)
-rw-r--r--knights/tabpage.cpp4
1 files 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" )