summaryrefslogtreecommitdiffstats
path: root/kommander/editor/metadatabase.cpp
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2020-08-27 19:48:01 +0300
committerormorph <roma251078@mail.ru>2020-08-27 19:48:01 +0300
commitae3ed3d32920f5780af51aad9683b82179e9655d (patch)
tree7ee0468d90507a69359f9b5e6d1e15c4d05c67bd /kommander/editor/metadatabase.cpp
parent20fd79e5f4ac230cc4f6da008605be225f8b3399 (diff)
downloadtdewebdev-ae3ed3d32920f5780af51aad9683b82179e9655d.tar.gz
tdewebdev-ae3ed3d32920f5780af51aad9683b82179e9655d.zip
Rename *OBJECT_NAME_STRING
Signed-off-by: ormorph <roma251078@mail.ru>
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() ) {