diff options
author | Timothy Pearson <[email protected]> | 2012-03-06 20:38:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-06 20:38:40 -0600 |
commit | eb1d1e0dec5720ace27395e290b7093cd68b150d (patch) | |
tree | 04a199ef5ea853d86a6f9a44716c0874d41c20f6 /src/widgets/qdockarea.cpp | |
parent | ae8aba1e0f17943046e6bfa889b169f7fc41da0d (diff) | |
download | tqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.tar.gz tqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.zip |
Automated update from qt3
Diffstat (limited to 'src/widgets/qdockarea.cpp')
-rw-r--r-- | src/widgets/qdockarea.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/widgets/qdockarea.cpp b/src/widgets/qdockarea.cpp index 0e2555bd7..760db5382 100644 --- a/src/widgets/qdockarea.cpp +++ b/src/widgets/qdockarea.cpp @@ -235,7 +235,7 @@ static int point_pos( const TQPoint &p, TQt::Orientation o, bool swap = FALSE ) static void shrink_extend( TQDockWindow *dw, int &dockExtend, int /*spaceLeft*/, TQt::Orientation o ) { - TQToolBar *tb = ::qt_cast<TQToolBar*>(dw); + TQToolBar *tb = ::tqt_cast<TQToolBar*>(dw); if ( o == TQt::Horizontal ) { int mw = 0; if ( !tb ) @@ -258,7 +258,7 @@ static void place_line( TQValueList<DockData> &lastLine, TQt::Orientation o, int TQDockWindow *last = 0; TQRect lastRect; for ( TQValueList<DockData>::Iterator it = lastLine.begin(); it != lastLine.end(); ++it ) { - if ( tbstrut != -1 && ::qt_cast<TQToolBar*>((*it).w) ) + if ( tbstrut != -1 && ::tqt_cast<TQToolBar*>((*it).w) ) (*it).rect.setHeight( tbstrut ); if ( !last ) { last = (*it).w; @@ -391,7 +391,7 @@ int TQDockAreaLayout::layoutItems( const TQRect &rect, bool testonly ) // do some calculations and add the remember the rect which the docking widget requires for the placing TQRect dwRect(pos, sectionpos, dockExtend, dock_strut( dw, orientation() ) ); lastLine.append( DockData( dw, dwRect ) ); - if ( ::qt_cast<TQToolBar*>(dw) ) + if ( ::tqt_cast<TQToolBar*>(dw) ) tbstrut = TQMAX( tbstrut, dock_strut( dw, orientation() ) ); linestrut = TQMAX( dock_strut( dw, orientation() ), linestrut ); add_size( dockExtend, pos, orientation() ); @@ -926,7 +926,7 @@ void TQDockArea::updateLayout() bool TQDockArea::eventFilter( TQObject *o, TQEvent *e ) { if ( e->type() == TQEvent::Close ) { - if ( ::qt_cast<TQDockWindow*>(o) ) { + if ( ::tqt_cast<TQDockWindow*>(o) ) { o->removeEventFilter( this ); TQApplication::sendEvent( o, e ); if ( ( (TQCloseEvent*)e )->isAccepted() ) @@ -1087,7 +1087,7 @@ bool TQDockArea::isDockWindowAccepted( TQDockWindow *dw ) if ( forbiddenWidgets.findRef( dw ) != -1 ) return FALSE; - TQMainWindow *mw = ::qt_cast<TQMainWindow*>(parentWidget()); + TQMainWindow *mw = ::tqt_cast<TQMainWindow*>(parentWidget()); if ( !mw ) return TRUE; if ( !mw->hasDockWindow( dw ) ) @@ -1145,7 +1145,7 @@ int TQDockArea::maxSpace( int hint, TQDockWindow *dw ) return dw->height(); } int min = 0; - TQToolBar *tb = ::qt_cast<TQToolBar*>(w); + TQToolBar *tb = ::tqt_cast<TQToolBar*>(w); if ( orientation() == Horizontal ) { w->setFixedExtentWidth( -1 ); if ( !tb ) |