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