On Friday, 4 de November de 2011 10:36:29 Peter Hartmann wrote:
> I am happy with having one QDnsReply class; I think we can get pretty
> far with some special accessors for SRV and other records, and one
> generic accessor for simple (QString) and unsupported cases. Then
> whoever wants to read a currently unsupported response format needs to
> parse the response string himself, which IMO is not that bad.
> We can then in the future extend the class with more special accessors
> if need be.

There's no way to provide the unsupported formats in QString. It would need to
be QByteArray and, even then, it's useless if it contains a compressed domain
name.


--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to