OK, got my problem solved using different filters and a few match flags + 
QContactUnionFilter.

BR, Pasi
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Havia Pasi (Nokia-MS/Oulu)
> Sent: Wednesday, November 10, 2010 1:15 PM
> To: [email protected]
> Subject: Re: [Qt-mobility-feedback] QContactDetailFilter and 
> MatchKeypadCollation
> 
> QContactUnionFilter would sound otherwise great except I want 
> to perform "OR" operation for filters, ie. want results if 
> eather of two filters results are given, not "AND" operation.
> 
> -Pasi
> 
> 
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On 
> Behalf Of Havia 
> > Pasi (Nokia-MS/Oulu)
> > Sent: Wednesday, November 10, 2010 11:43 AM
> > To: [email protected]
> > Subject: [Qt-mobility-feedback] QContactDetailFilter and 
> > MatchKeypadCollation
> > 
> > Hi there,
> > 
> > I'm using Qt Mobility 1.1 beta 2. I would like to filter 
> contacts by 
> > using QContactFilter::MatchKeypadCollation match flag for 
> not just one 
> > detail but at least for two details (phone number and contact name).
> > 
> > Is this possible by using just one QContactDetailFilter or 
> do I need 
> > to use several objects and somehow combine their results after 
> > resultsAvailable signal is emitted?
> > 
> > BR, Pasi
> > _______________________________________________
> > Qt-mobility-feedback mailing list
> > [email protected]
> > http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
> > 
> _______________________________________________
> Qt-mobility-feedback mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
> 
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to