summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/project.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/project.cpp')
-rw-r--r--kdevdesigner/designer/project.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/designer/project.cpp b/kdevdesigner/designer/project.cpp
index d96bd4dd..1410361d 100644
--- a/kdevdesigner/designer/project.cpp
+++ b/kdevdesigner/designer/project.cpp
@@ -1300,8 +1300,8 @@ void Project::addObject( TQObject *o )
fakeFormFiles.insert( (void*)o, ff );
MetaDataBase::addEntry( o );
if ( hasGUI() ) {
- TQWidget *tqparent = MainWindow::self ? MainWindow::self->qWorkspace() : 0;
- FormWindow *fw = new FormWindow( ff, MainWindow::self, tqparent, "qt_fakewindow" );
+ TQWidget *parent = MainWindow::self ? MainWindow::self->qWorkspace() : 0;
+ FormWindow *fw = new FormWindow( ff, MainWindow::self, parent, "qt_fakewindow" );
fw->setProject( this );
if ( TQFile::exists( ff->absFileName() ) )
Resource::loadExtraSource( ff, ff->absFileName(),
@@ -1460,12 +1460,12 @@ bool Project::hasParentObject( TQObject *o )
TQString Project::qualifiedName( TQObject *o )
{
TQString name = o->name();
- TQObject *p = o->tqparent();
+ TQObject *p = o->parent();
while ( p ) {
name.prepend( TQString( p->name() ) + "." );
if ( objs.findRef( p ) != -1 )
break;
- p = p->tqparent();
+ p = p->parent();
}
return name;
}