rem: QComboBox *cb = (QComboBox*)paramWidget->child("combo"); Q_ASSERT( cb ); mParameter = cb->currentText();  QLineEdit *le = (QLineEdit*)paramWidget->child("ledit"); Q_ASSERT( le ); mValue = le->text();
add: KPIM::IdentityCombo * ic = dynamic_cast<KPIM::IdentityCombo*>( paramWidget ); assert( ic ); mParameter = ic->currentIdentity();
context: void KMFilterActionAddHeader::applyParamWidgetValue( QWidget* paramWidget ){  QComboBox *cb = (QComboBox*)paramWidget->child("combo");  Q_ASSERT( cb );  mParameter = cb->currentText();  QLineEdit *le = (QLineEdit*)paramWidget->child("ledit");  Q_ASSERT( le );  mValue = le->text();}