diff options
Diffstat (limited to 'tools/designer/designer/propertyeditor.cpp')
-rw-r--r-- | tools/designer/designer/propertyeditor.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/designer/designer/propertyeditor.cpp b/tools/designer/designer/propertyeditor.cpp index efbe42b9d..af0db8e31 100644 --- a/tools/designer/designer/propertyeditor.cpp +++ b/tools/designer/designer/propertyeditor.cpp @@ -333,14 +333,14 @@ void PropertyItem::setOpen( bool b ) children.setAutoDelete( TRUE ); children.clear(); children.setAutoDelete( FALSE ); - qApp->processEvents(); + tqApp->processEvents(); listview->updateEditorSize(); return; } createChildren(); initChildren(); - qApp->processEvents(); + tqApp->processEvents(); listview->updateEditorSize(); } @@ -552,10 +552,10 @@ TQString PropertyItem::currentItemFromObject() const void PropertyItem::setFocus( TQWidget *w ) { - if ( !qApp->focusWidget() || + if ( !tqApp->focusWidget() || listview->propertyEditor()->formWindow() && - ( !MainWindow::self->isAFormWindowChild( qApp->focusWidget() ) && - !qApp->focusWidget()->inherits( "Editor" ) ) ) + ( !MainWindow::self->isAFormWindowChild( tqApp->focusWidget() ) && + !tqApp->focusWidget()->inherits( "Editor" ) ) ) w->setFocus(); } @@ -2560,7 +2560,7 @@ void PropertyKeysequenceItem::setValue() PropertyItem::setValue( v ); if (sequence->hasFocus() // if the user wants to use F1 as accelerator, Designer will pop up a TQWhatsThat widget - || (qApp->focusWidget() && qApp->focusWidget()->inherits("TQWhatsThat"))) + || (tqApp->focusWidget() && tqApp->focusWidget()->inherits("TQWhatsThat"))) notifyValueChange(); setChanged( TRUE ); } @@ -3314,7 +3314,7 @@ void PropertyList::setupProperties() sort(); setSorting( -1 ); setCurrentItem( firstChild() ); - qApp->processEvents(); + tqApp->processEvents(); } updateEditorSize(); |