diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqwidgetstack.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/widgets/tqwidgetstack.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqwidgetstack.cpp b/experimental/tqtinterface/qt4/src/widgets/tqwidgetstack.cpp index 4bf824e59..ff78a7ba1 100644 --- a/experimental/tqtinterface/qt4/src/widgets/tqwidgetstack.cpp +++ b/experimental/tqtinterface/qt4/src/widgets/tqwidgetstack.cpp @@ -177,7 +177,7 @@ int TQWidgetStack::addWidget(TQWidget * w, int id) // prevent duplicates removeWidget(w); - if (id >= 0 && dict->tqfind(id)) + if (id >= 0 && dict->find(id)) id = -2; if (id < -1) id = d->nextNegativeID--; @@ -196,7 +196,7 @@ int TQWidgetStack::addWidget(TQWidget * w, int id) if (f) { if (!focusWidgets) focusWidgets = new TQPtrDict<TQWidget>(17); - focusWidgets->tqreplace(w, TQT_TQWIDGET(w->focusWidget())); + focusWidgets->replace(w, TQT_TQWIDGET(w->focusWidget())); } w->hide(); @@ -241,7 +241,7 @@ void TQWidgetStack::raiseWidget(int id) { if (id == -1) return; - TQWidget * w = dict->tqfind(id); + TQWidget * w = dict->find(id); if (w) raiseWidget(w); } @@ -415,7 +415,7 @@ void TQWidgetStack::setVisible(bool visible) TQWidget * TQWidgetStack::widget(int id) const { - return id != -1 ? dict->tqfind(id) : 0; + return id != -1 ? dict->find(id) : 0; } @@ -785,7 +785,7 @@ int TQWidgetStack::addWidget( TQWidget * w, int id ) // prevent duplicates removeWidget( w ); - if ( id >= 0 && dict->tqfind( id ) ) + if ( id >= 0 && dict->find( id ) ) id = -2; if ( id < -1 ) id = nseq_no--; @@ -804,7 +804,7 @@ int TQWidgetStack::addWidget( TQWidget * w, int id ) if ( f ) { if ( !tqfocusWidgets ) tqfocusWidgets = new TQPtrDict<TQWidget>( 17 ); - tqfocusWidgets->tqreplace( w, w->tqfocusWidget() ); + tqfocusWidgets->replace( w, w->tqfocusWidget() ); } w->hide(); @@ -850,7 +850,7 @@ void TQWidgetStack::raiseWidget( int id ) { if ( id == -1 ) return; - TQWidget * w = dict->tqfind( id ); + TQWidget * w = dict->find( id ); if ( w ) raiseWidget( w ); } @@ -913,9 +913,9 @@ void TQWidgetStack::raiseWidget( TQWidget *w ) if ( p == topWidget ) { // focus was on old page if ( !tqfocusWidgets ) tqfocusWidgets = new TQPtrDict<TQWidget>( 17 ); - tqfocusWidgets->tqreplace( topWidget, fw ); + tqfocusWidgets->replace( topWidget, fw ); fw->clearFocus(); - // look for the best focus widget we can tqfind + // look for the best focus widget we can find // best == what we had (which may be deleted) fw = tqfocusWidgets->take( w ); if ( isChildOf( fw, w ) ) { @@ -1036,7 +1036,7 @@ void TQWidgetStack::show() TQWidget * TQWidgetStack::widget( int id ) const { - return id != -1 ? dict->tqfind( id ) : 0; + return id != -1 ? dict->find( id ) : 0; } |