diff options
Diffstat (limited to 'lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.cpp')
-rw-r--r-- | lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.cpp b/lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.cpp index c43fdf53..02f3f5d8 100644 --- a/lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.cpp +++ b/lib/compatibility/kmdi/qextmdi/kmditoolviewaccessor.cpp @@ -29,10 +29,10 @@ #include "kmditoolviewaccessor.h" #include "kmditoolviewaccessor_p.h" -KMdiToolViewAccessor::KMdiToolViewAccessor( KMdiMainFrm *tqparent, TQWidget *widgetToWrap, const TQString& tabToolTip, const TQString& tabCaption ) - : TQObject( tqparent ) +KMdiToolViewAccessor::KMdiToolViewAccessor( KMdiMainFrm *parent, TQWidget *widgetToWrap, const TQString& tabToolTip, const TQString& tabCaption ) + : TQObject( parent ) { - mdiMainFrm = tqparent; + mdiMainFrm = parent; d = new KMdiToolViewAccessorPrivate(); if ( widgetToWrap->inherits( "KDockWidget" ) ) { @@ -55,9 +55,9 @@ KMdiToolViewAccessor::KMdiToolViewAccessor( KMdiMainFrm *tqparent, TQWidget *wid { finalTabCaption = tabCaption; } - d->widgetContainer = tqparent->createDockWidget( widgetToWrap->name(), + d->widgetContainer = parent->createDockWidget( widgetToWrap->name(), ( widgetToWrap->icon() ? ( *( widgetToWrap->icon() ) ) : TQPixmap() ), - 0L, // tqparent + 0L, // parent widgetToWrap->caption(), finalTabCaption ); d->widgetContainer->setWidget( widgetToWrap ); @@ -75,9 +75,9 @@ KMdiToolViewAccessor::KMdiToolViewAccessor( KMdiMainFrm *tqparent, TQWidget *wid d->widget->installEventFilter( this ); } -KMdiToolViewAccessor::KMdiToolViewAccessor( KMdiMainFrm *tqparent ) +KMdiToolViewAccessor::KMdiToolViewAccessor( KMdiMainFrm *parent ) { - mdiMainFrm = tqparent; + mdiMainFrm = parent; d = new KMdiToolViewAccessorPrivate(); } @@ -133,7 +133,7 @@ void KMdiToolViewAccessor::setWidgetToWrap( TQWidget *widgetToWrap, const TQStri { tmp = mdiMainFrm->createDockWidget( widgetToWrap->name(), widgetToWrap->icon() ? ( *( widgetToWrap->icon() ) ) : TQPixmap(), - 0L, // tqparent + 0L, // parent widgetToWrap->caption(), finalTabCaption ); d->widgetContainer = tmp; |