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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdevdesigner/designer/newformimpl.cpp b/kdevdesigner/designer/newformimpl.cpp
index 738c8a55..73844f9d 100644
--- a/kdevdesigner/designer/newformimpl.cpp
+++ b/kdevdesigner/designer/newformimpl.cpp
@@ -77,7 +77,7 @@ void FormItem::insert( Project *pro )
FormFile *ff = new FormFile( FormFile::createUnnamedFileName(), TRUE, pro );
fw = new FormWindow( ff, MainWindow::self, MainWindow::self->qWorkspace(), n );
fw->setProject( pro );
- MetaDataBase::addEntry( TQT_TQOBJECT(fw) );
+ MetaDataBase::addEntry( fw );
if ( fType == Widget ) {
TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( "TQWidget" ),
fw, n.latin1() );
@@ -109,10 +109,10 @@ void FormItem::insert( Project *pro )
// the wizard might have changed a lot, lets update everything
MainWindow::self->actioneditor()->setFormWindow( fw );
- MainWindow::self->objectHierarchy()->setFormWindow( fw, TQT_TQOBJECT(fw) );
+ MainWindow::self->objectHierarchy()->setFormWindow( fw, fw );
MainWindow::self->objectHierarchy()->formDefinitionView()->refresh();
MainWindow::self->objectHierarchy()->rebuild();
- fw->killAccels( TQT_TQOBJECT(fw) );
+ fw->killAccels( fw );
fw->project()->setModified( TRUE );
fw->setFocus();
if ( !pro->isDummy() ) {