[RQt-devel] recent smoke update

Deepayan Sarkar deepayan.sarkar at gmail.com
Sat Jan 23 01:28:42 CET 2010


On Thu, Jan 21, 2010 at 12:51 PM, Michael Lawrence
<lawrence.michael at gene.com> wrote:
> I'm now thinking we're better off drinking the kool-aid and moving to S4 for
> representing these objects. At least the complex ones that would need to
> become a list. Validation would be much easier. And it would be
> self-documenting, to an extent.

Hmm...no strong opinions, so I'll go with whatever you decide. I
assume this only applies for the classes we would want natively
represented, as it would be too much work defining S4 classes for all
smoke-supported Qt classes? (Or maybe that can be done by
automatically generated code.)

Anyway, let me know if I can help with this. I'm off on a short break
(without internet access), but back on Tuesday.

-Deepayan

> If we did that though, we'd want to be pretty consistent, so even QMatrix
> would become an S4 class that I guess would extend matrix. With a formal
> validity method that verifies the dimensions.
>
> I think QString and QByteArray should just go to plain old character vectors
> though. I kind of see a string as a primitive.


More information about the Qtinterfaces-devel mailing list