summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/newformimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/newformimpl.cpp')
-rw-r--r--kdevdesigner/designer/newformimpl.cpp8
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 );
}