rem: QComboBox *cb = (QComboBox*)paramWidget->child("combo"); Q_ASSERT( cb ); cb->setCurrentItem(0); QLineEdit *le = (QLineEdit*)paramWidget->child("ledit"); Q_ASSERT( le ); le->clear();
add: KPIM::IdentityCombo * ic = dynamic_cast<KPIM::IdentityCombo*>( paramWidget ); assert( ic ); ic->setCurrentItem( 0 );
context: void KMFilterActionAddHeader::clearParamWidget( QWidget* paramWidget ) const{  QComboBox *cb = (QComboBox*)paramWidget->child("combo");  Q_ASSERT( cb );  cb->setCurrentItem(0);  QLineEdit *le = (QLineEdit*)paramWidget->child("ledit");  Q_ASSERT( le );  le->clear();}