rem: kdDebug(5006) << "TextRuleWidgetHandler::reset()" << endl;
context:   void TextRuleWidgetHandler::reset( QWidgetStack *functionStack,                                     QWidgetStack *valueStack ) const  {    kdDebug(5006) << "TextRuleWidgetHandler::reset()" << endl;    // reset the function combo box    QComboBox *funcCombo =      dynamic_cast<QComboBox*>( functionStack->child( "textRuleFuncCombo",                                                      0, false ) );    if ( funcCombo ) {      funcCombo->blockSignals( true );      funcCombo->setCurrentItem( 0 );      funcCombo->blockSignals( false );    }    // reset the value widget    RegExpLineEdit *lineEdit =      dynamic_cast<RegExpLineEdit*>( valueStack->child( "regExpLineEdit",                                                        0, false ) );    if ( lineEdit ) {      lineEdit->blockSignals( true );      lineEdit->clear();      lineEdit->blockSignals( false );      lineEdit->showEditButton( false );      valueStack->raiseWidget( lineEdit );    }  }