summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqdockarea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqdockarea.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqdockarea.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqdockarea.cpp b/tqtinterface/qt4/src/widgets/tqdockarea.cpp
index 72f65c2..3701355 100644
--- a/tqtinterface/qt4/src/widgets/tqdockarea.cpp
+++ b/tqtinterface/qt4/src/widgets/tqdockarea.cpp
@@ -573,11 +573,11 @@ int TQDockAreaLayout::widthForHeight( int h ) const
/*!
Constructs a TQDockArea with orientation \a o, HandlePosition \a h,
- tqparent \a tqparent and called \a name.
+ parent \a parent and called \a name.
*/
-TQDockArea::TQDockArea( Qt::Orientation o, HandlePosition h, TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), orient( o ), tqlayout( 0 ), hPos( h )
+TQDockArea::TQDockArea( Qt::Orientation o, HandlePosition h, TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), orient( o ), tqlayout( 0 ), hPos( h )
{
dockWindows = new TQPtrList<TQDockWindow>;
tqlayout = new TQDockAreaLayout( this, o, dockWindows, 0, 0, "tooltqlayout" );
@@ -592,7 +592,7 @@ TQDockArea::TQDockArea( Qt::Orientation o, HandlePosition h, TQWidget *tqparent,
dock areas, even if they first appeared in this dock area.
Floating dock windows are effectively top level windows and are
not child windows of the dock area. When a floating dock window is
- docked (dragged into a dock area) its tqparent becomes the dock
+ docked (dragged into a dock area) its parent becomes the dock
area.
*/
@@ -624,7 +624,7 @@ void TQDockArea::moveDockWindow( TQDockWindow *w, int index )
orientation() == Qt::Vertical ? TQSizePolicy::Expanding : TQSizePolicy::Minimum ) );
dockWindows->append( w );
} else {
- if ( w->tqparent() != TQT_TQOBJECT(this) )
+ if ( w->parent() != TQT_TQOBJECT(this) )
w->reparent( this, TQPoint( 0, 0 ), TRUE );
if ( index == - 1 ) {
dockWindows->removeRef( w );