diff options
author | Michele Calgaro <[email protected]> | 2023-07-12 11:39:51 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-12 11:39:51 +0900 |
commit | b8cc513c5e875739c6790da651f6a3f47ed8f657 (patch) | |
tree | c5ea9e06083342e0595e717cb7e17c8e0b24403e /kdevdesigner/designer/newformimpl.cpp | |
parent | 49e038a76fc5a579ee3c629ef78b051071f32e0a (diff) | |
download | tdevelop-b8cc513c5e875739c6790da651f6a3f47ed8f657.tar.gz tdevelop-b8cc513c5e875739c6790da651f6a3f47ed8f657.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]>
Diffstat (limited to 'kdevdesigner/designer/newformimpl.cpp')
-rw-r--r-- | kdevdesigner/designer/newformimpl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/designer/newformimpl.cpp b/kdevdesigner/designer/newformimpl.cpp index 17dfc1b7..738c8a55 100644 --- a/kdevdesigner/designer/newformimpl.cpp +++ b/kdevdesigner/designer/newformimpl.cpp @@ -79,18 +79,18 @@ void FormItem::insert( Project *pro ) fw->setProject( pro ); MetaDataBase::addEntry( TQT_TQOBJECT(fw) ); if ( fType == Widget ) { - TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( TQWIDGET_OBJECT_NAME_STRING ), + TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( "TQWidget" ), fw, n.latin1() ); fw->setMainContainer( w ); } else if ( fType == Dialog ) { - TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( TQDIALOG_OBJECT_NAME_STRING ), fw, n.latin1() ); + TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( "TQDialog" ), fw, n.latin1() ); fw->setMainContainer( w ); } else if ( fType == Wizard ) { - TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( TQWIZARD_OBJECT_NAME_STRING ), + TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( "TQWizard" ), fw, n.latin1() ); fw->setMainContainer( w ); } else if ( fType == MainWindow ) { - TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( TQMAINWINDOW_OBJECT_NAME_STRING ), + TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( "TQMainWindow" ), fw, n.latin1() ); fw->setMainContainer( w ); } |