rem: void createFilter( const QCString & field, const QString & value ) { mFilterList->createFilter( field, value ); }
add: void KMFilterListBox::createFilter( const QString field, const QString value ) { KMSearchRule *newRule = new KMSearchRule(); newRule->init( field, KMSearchRule::FuncContains, value );  KMFilter *newFilter = new KMFilter(); newFilter->pattern()->append( newRule ); newFilter->pattern()->setName( QString("<%1>:%2").arg( field ).arg( value) );  KMFilterActionDesc *desc = (*kernel->filterActionDict())["move to folder"]; if ( desc ) newFilter->actions()->append( desc->create() );  insertFilter( newFilter ); enableControls(); }
context:   void createFilter( const QCString & field, const QString & value )    { mFilterList->createFilter( field, value ); }