summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-11 20:55:32 +0900
committerMichele Calgaro <[email protected]>2023-07-11 20:55:32 +0900
commit1e10624f8ad3e6ca922186421f4664e90af292ad (patch)
treebbca3a48851e2793135009e826a0c1082b4e84ef
parentc90f0b8c4c823e71ed23db7577b30aa643d3c03f (diff)
downloadknights-1e10624f8ad3e6ca922186421f4664e90af292ad.tar.gz
knights-1e10624f8ad3e6ca922186421f4664e90af292ad.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
-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" )