Re: [Development] QSettings refactor updates

2014-10-09 Thread private
I once programmed a class hierarchy targeting the same features (and much more). It consited of settings group objects and settings object ordered in a tree hierarchy. That hierarchy was much more complex (having templated settings, units, limits, flags, value checking, attributes for GUI f

Re: [Development] Contribution proposal: Dispatcher class

2014-09-25 Thread private
> I think if this feature would be added to QtCore, it should be by extending > QMetaObject::invoke to work with functors. > By using Qt::BlockingQueuedConnection that would be very similar to what you > have done. I reported this before in Qt issue tracker. I would really like to see this impl

Re: [Development] QOptional

2014-08-21 Thread private
In our projects we are using a Result class that also exists as a derived Outcome class. That Result class consists of a boolean (telling if an error occurred or not) and optional eror code and an optional error message. The derived Outcome class adds a value for functions that do not only