diff options
Diffstat (limited to 'arts/gui/kde/kwidget_impl.cpp')
-rw-r--r-- | arts/gui/kde/kwidget_impl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arts/gui/kde/kwidget_impl.cpp b/arts/gui/kde/kwidget_impl.cpp index b899f0cd..b716f4c3 100644 --- a/arts/gui/kde/kwidget_impl.cpp +++ b/arts/gui/kde/kwidget_impl.cpp @@ -65,24 +65,24 @@ long KWidget_impl::widgetID() return _widgetID; } -Widget KWidget_impl::tqparent() +Widget KWidget_impl::parent() { return KWidgetRepo::the()->lookupWidget(_parentID); } -void KWidget_impl::tqparent(Arts::Widget newParent) +void KWidget_impl::parent(Arts::Widget newParent) { if(!newParent.isNull()) { _parentID = newParent.widgetID(); - TQWidget *qtqparent; - qtqparent = KWidgetRepo::the()->lookupTQWidget(newParent.widgetID()); - if( qtqparent != 0 ) + TQWidget *qparent; + qparent = KWidgetRepo::the()->lookupTQWidget(newParent.widgetID()); + if( qparent != 0 ) { TQPoint pos(x(),y()); bool showIt = visible(); - _qwidget->reparent(qtqparent, pos, showIt); + _qwidget->reparent(qparent, pos, showIt); } } else |