[Development] Proposal - QtSerialPort graduation from the Playground
Laszlo Papp
lpapp at kde.org
Wed Jan 23 21:57:58 CET 2013
On Wed, Jan 23, 2013 at 8:27 PM, Thiago A. CorrĂȘa
<thiago.correa at gmail.com>wrote:
> IMHO we could drop the enumeration from the public API.
What would you use for setting a conrete value for your serialport like the
terminal example demonstrates that use case?
> I'm not native english
> speaker but I think writting it as baudrate (ie, as a single word) is
> common[1], and therefore I guess it wouldn't be against the convention
> to call it baudrate/setBaudrate if that form os prefered.
>
I believe that camelCase makes sense here as they are usually as separate
words (i.e. even if I type "baudrate" into Google).
> If we keep the enumeration, then Baud9600 isn't a bad name.
>
Fine, I will make a patch soon then if there are no objections against it.
[1] I've looked up an Oxford Semi datasheet I have here and it's
> written only as baud rate, but another one from Atmel has both forms.
>
Hmm, perhaps the link is missing. ;-)
Thank you for your feedback.
Laszlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130123/2726c3a9/attachment.html>
More information about the Development
mailing list