1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
13 File: YQReplacePoint.cc
15 Author: Stefan Hundhammer <sh@suse.de>
21 #define y2log_component "qt-ui"
22 #include <ycp/y2log.h>
24 #include "YQReplacePoint.h"
27 YQReplacePoint::YQReplacePoint( YWidget * parent )
28 : QWidget( (QWidget *) parent->widgetRep() )
29 , YReplacePoint( parent )
35 void YQReplacePoint::showChild()
37 YWidget * child = firstChild();
41 QWidget * qChild = (QWidget *) child->widgetRep();
47 void YQReplacePoint::setEnabled( bool enabled )
49 QWidget::setEnabled( enabled );
50 YWidget::setEnabled( enabled );
54 void YQReplacePoint::setSize( int newWidth, int newHeight )
56 resize( newWidth, newHeight );
57 YReplacePoint::setSize( newWidth, newHeight );
60 #include "YQReplacePoint.moc"