summaryrefslogtreecommitdiffstats
path: root/kommander/editor/metadatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/metadatabase.cpp')
-rw-r--r--kommander/editor/metadatabase.cpp4
1 files changed, 2 insertions, 2 deletions
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() ) {