rem: KMSearchRule::Function StatusRuleWidgetHandler::currentFunction( const QWidgetStack *functionStack ) const
add: KMSearchRule::Function TextRuleWidgetHandler::currentFunction( const QWidgetStack *functionStack ) const
context:   KMSearchRule::Function StatusRuleWidgetHandler::currentFunction( const QWidgetStack *functionStack ) const  {    const QComboBox *funcCombo =      dynamic_cast<QComboBox*>( QObject_child_const( functionStack,                                                     "statusRuleFuncCombo" ) );    // FIXME (Qt >= 4.0): Use the following when QObject::child() is const.    //  dynamic_cast<QComboBox*>( functionStack->child( "statusRuleFuncCombo",    //                                                  0, false ) );    if ( funcCombo ) {      return StatusFunctions[funcCombo->currentItem()].id;    }    else      kdDebug(5006) << "StatusRuleWidgetHandler::currentFunction: "                       "statusRuleFuncCombo not found." << endl;    return KMSearchRule::FuncNone;  }