diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp b/experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp index 1921297c2..6a649bc7f 100644 --- a/experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp +++ b/experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp @@ -1125,7 +1125,7 @@ TQToolTipGroup * TQMainWindow::toolTipGroup() const void TQMainWindow::setDockEnabled( TQt::Dock dock, bool enable ) { - d->docks.tqreplace( dock, enable ); + d->docks.replace( dock, enable ); } @@ -1180,7 +1180,7 @@ bool TQMainWindow::isDockEnabled( TQDockArea *area ) const void TQMainWindow::setDockEnabled( TQDockWindow *dw, TQt::Dock dock, bool enable ) { - if ( d->dockWindows.tqfind( dw ) == -1 ) { + if ( d->dockWindows.find( dw ) == -1 ) { d->dockWindows.append( dw ); connect( dw, TQT_SIGNAL( placeChanged(TQDockWindow::Place) ), this, TQT_SLOT( slotPlaceChanged() ) ); @@ -1189,7 +1189,7 @@ void TQMainWindow::setDockEnabled( TQDockWindow *dw, TQt::Dock dock, bool enable s.sprintf( "%p_%d", (void*)dw, (int)dock ); if ( enable ) d->disabledDocks.remove( s ); - else if ( d->disabledDocks.tqfind( s ) == d->disabledDocks.end() ) + else if ( d->disabledDocks.find( s ) == d->disabledDocks.end() ) d->disabledDocks << s; switch ( dock ) { case TQt::DockTop: @@ -1251,7 +1251,7 @@ bool TQMainWindow::isDockEnabled( TQDockWindow *tb, TQt::Dock dock ) const return FALSE; TQString s; s.sprintf( "%p_%d", (void*)tb, (int)dock ); - return d->disabledDocks.tqfind( s ) == d->disabledDocks.end(); + return d->disabledDocks.find( s ) == d->disabledDocks.end(); } @@ -1279,7 +1279,7 @@ void TQMainWindow::addDockWindow( TQDockWindow *dockWindow, #endif moveDockWindow( dockWindow, edge ); dockWindow->setNewLine( newLine ); - if ( d->dockWindows.tqfind( dockWindow ) == -1 ) { + if ( d->dockWindows.find( dockWindow ) == -1 ) { d->dockWindows.append( dockWindow ); connect( dockWindow, TQT_SIGNAL( placeChanged(TQDockWindow::Place) ), this, TQT_SLOT( slotPlaceChanged() ) ); @@ -1701,7 +1701,7 @@ void TQMainWindow::childEvent( TQChildEvent* e) d->sb = ::tqqt_cast<TQStatusBar*>(e->child()); if ( d->sb ) { if ( d->tll ) { - if ( !d->tll->tqfindWidget( d->sb ) ) + if ( !d->tll->findWidget( d->sb ) ) d->tll->addWidget( d->sb ); } else { triggerLayout(); @@ -2154,7 +2154,7 @@ void TQMainWindow::setDockMenuEnabled( bool b ) } /*! - Creates the dock window menu which tqcontains all toolbars (if \a + Creates the dock window menu which contains all toolbars (if \a dockWindows is \c OnlyToolBars ), all dock windows (if \a dockWindows is \c NoToolBars) or all toolbars and dock windows (if \a dockWindows is \c AllDockWindows - the default). @@ -2198,7 +2198,7 @@ TQPopupMenu *TQMainWindow::createDockWindowMenu( DockWindows dockWindows ) const TQPopupMenu *menu = new TQPopupMenu( (TQMainWindow*)this, "qt_customize_menu" ); menu->setCheckable( TRUE ); - d->dockWindowModes.tqreplace( menu, dockWindows ); + d->dockWindowModes.replace( menu, dockWindows ); connect( menu, TQT_SIGNAL( aboutToShow() ), this, TQT_SLOT( menuAboutToShow() ) ); return menu; } @@ -2218,7 +2218,7 @@ TQPopupMenu *TQMainWindow::createDockWindowMenu( DockWindows dockWindows ) const void TQMainWindow::menuAboutToShow() { TQPopupMenu *menu = (TQPopupMenu*)sender(); - TQMap<TQPopupMenu*, DockWindows>::Iterator it = d->dockWindowModes.tqfind( menu ); + TQMap<TQPopupMenu*, DockWindows>::Iterator it = d->dockWindowModes.find( menu ); if ( it == d->dockWindowModes.end() ) return; menu->clear(); @@ -2349,7 +2349,7 @@ TQDockArea *TQMainWindow::dockingArea( const TQPoint &p ) bool TQMainWindow::hasDockWindow( TQDockWindow *dw ) { - return d->dockWindows.tqfindRef( dw ) != -1; + return d->dockWindows.findRef( dw ) != -1; } /*! @@ -2451,7 +2451,7 @@ bool TQMainWindow::isCustomizable() const bool TQMainWindow::appropriate( TQDockWindow *dw ) const { - TQMap<TQDockWindow*, bool>::ConstIterator it = d->appropriate.tqfind( dw ); + TQMap<TQDockWindow*, bool>::ConstIterator it = d->appropriate.find( dw ); if ( it == d->appropriate.end() ) return TRUE; return *it; @@ -2474,7 +2474,7 @@ bool TQMainWindow::appropriate( TQDockWindow *dw ) const void TQMainWindow::setAppropriate( TQDockWindow *dw, bool a ) { - d->appropriate.tqreplace( dw, a ); + d->appropriate.replace( dw, a ); } #ifndef TQT_NO_TEXTSTREAM |