Exemple #1
0
void
KdmThemer::setWidget( QWidget *w )
{
	if ((m_widget = w)) {
		setWidgetAttribs( m_widget, rootItem->style );
		rootItem->plugActions();
	}
}
Exemple #2
0
void
KdmItem::setWidget(QWidget *widget)
{
    if ((myWidget = widget)) {
        myWidget->hide(); // yes, really
        connect(myWidget, SIGNAL(destroyed()), SLOT(widgetGone()));
        setWidgetAttribs(myWidget);
    }

    emit needPlugging();
    emit needPlacement();
}