New Toronto Group

Cascades

Faster QProperty Coding - New Toronto Group

Faster QProperty Coding

| June 25th, 2013 by Sean Hopen

A number of my students have been asking about an easier way of creating QProperties. QProperties are great, but they can take a bit of time to create.  The basic declaration is simple enough… Q_PROPERTY ( int size READ size WRITE set Size NOTIFY sizeChanged FINAL); …but then you have to write the getter, the setter, a signal, their declarations and implementations. Each QProperty takes a minimum…

Read more »

Posted in BB10, Cascades, QProperty | 0 Comments

Faster QProperty Coding - New Toronto Group

I Love You Implicitly

| February 04th, 2013 by Sean Hopen

I can see that learning to develop with C++ and Qt can be daunting at first. Here's my tip: If you're learning Cascades, make sure you don't skim over "Implicit Sharing". It's a very cool feature of Qt/Cascades, that lets  you relax about memory management, and stay efficient at the same time. Briefly, implicit sharing allows you to pass objects around in arguments and return values without making…

Read more »

Posted in Blog, implicity, Sean Hopen | 0 Comments