rem: kdDebug(5006) << "TextRuleWidgetHandler::update()" << endl;
context:   bool TextRuleWidgetHandler::update( const QCString &,                                      QWidgetStack *functionStack,                                      QWidgetStack *valueStack ) const  {    kdDebug(5006) << "TextRuleWidgetHandler::update()" << endl;    // raise the correct function widget    functionStack->raiseWidget(      static_cast<QWidget*>( functionStack->child( "textRuleFuncCombo",                                                   0, false ) ) );    // raise the correct value widget    KMSearchRule::Function func = currentFunction( functionStack );    if ( func == KMSearchRule::FuncIsInAddressbook ||         func == KMSearchRule::FuncIsNotInAddressbook ) {      valueStack->raiseWidget(        static_cast<QWidget*>( valueStack->child( "textRuleValueHider",                                                  0, false ) ) );    }    else {      RegExpLineEdit *lineEdit =        dynamic_cast<RegExpLineEdit*>( valueStack->child( "regExpLineEdit",                                                          0, false ) );      if ( lineEdit ) {        lineEdit->showEditButton( func == KMSearchRule::FuncRegExp ||                                  func == KMSearchRule::FuncNotRegExp );        valueStack->raiseWidget( lineEdit );      }    }    return true;  }