[Development] [Qt5-feedback] Command line parser in QtCore?

Thiago Macieira thiago at kde.org
Sat Oct 22 13:44:13 CEST 2011


On Saturday, 22 de October de 2011 11:29:38 Craig.Scott at csiro.au wrote:
> With that out of the way, I've put the class definition up on pastebin for
> comment. I've withheld the implementation until I've had a chance to clear
> it with our legal people. In the meantime, I think the interface of the
> class is probably enough to get some feedback on whether people think this
> has the potential to be a viable candidate for a command line parser for
> Qt:
> 
> http://pastebin.com/45PiHzLA
> 
> Note that the code currently does not adhere to the Qt coding guidelines (it
> follows ours instead), but if we do end up contributing it to Qt, then it
> should not be too difficult to bring it into line.

Hi Craig

It's not just the coding guideline, it's the architecture. I'm not a fan of 
tool classes with virtuals...

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20111022/1798d26d/attachment.sig>


More information about the Development mailing list