From ae3ed3d32920f5780af51aad9683b82179e9655d Mon Sep 17 00:00:00 2001 From: ormorph Date: Thu, 27 Aug 2020 19:48:01 +0300 Subject: Rename *OBJECT_NAME_STRING Signed-off-by: ormorph --- kommander/editor/metadatabase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kommander/editor/metadatabase.cpp') diff --git a/kommander/editor/metadatabase.cpp b/kommander/editor/metadatabase.cpp index c84e1159..b3a65aa8 100644 --- a/kommander/editor/metadatabase.cpp +++ b/kommander/editor/metadatabase.cpp @@ -280,7 +280,7 @@ int MetaDataBase::spacing( TQObject *o ) if ( !o ) return -1; setupDataBase(); - if ( o->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) ) + if ( o->inherits( "TQMainWindow" ) ) o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget()); MetaDataBaseRecord *r = db->find( TQT_TQOBJECT(o) ); if ( !r || !o->isWidgetType() ) { @@ -318,7 +318,7 @@ int MetaDataBase::margin( TQObject *o ) if ( !o ) return -1; setupDataBase(); - if ( o->inherits( TQMAINWINDOW_OBJECT_NAME_STRING ) ) + if ( o->inherits( "TQMainWindow" ) ) o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget()); MetaDataBaseRecord *r = db->find( (void*)o ); if ( !r || !o->isWidgetType() ) { -- cgit v1.2.1