On Friday 02 September 2011 19:04:43 Thiago Macieira wrote: > On Friday, 2 de September de 2011 17:28:59 Sean Harmer wrote: > > Sounds good to me. I'm looking for a nice way to handle and work with > > LDAP URL's (RFC 2255) with a nice API so if it would be possible to > > extend the API of such a class that would be a nice feature. > > As usual, no virtuals in the class at all. > > But what were you thinking of when you said you wanted to extend?
To be able to do something like: QStringList attributes; ... query.setAttributes( attributes ); to be able to set the list of LDAP attributes that get returned by a subsequent LDAP search using a QUrl. Thinking about it more though this requires handling the path() component too though for the base DN of the search. So perhaps I still need to subclass QUrl to handle this properly. At a higher level I have been wondering about providing a QNAM-like API for LDAP operations or perhaps even extending QNAM itself so being able to use QUrl directly would have been nice. More thinking required on my part. Have a good weekend, Sean _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
